> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chronosphere.io/llms.txt
> Use this file to discover all available pages before exploring further.

# ReadOtelMetricsIngestion



## OpenAPI

````yaml openapi/api_v1_config_openapi3_DOCUMENTATION_ONLY.json GET /api/v1/config/otel-metrics-ingestion
openapi: 3.0.3
info:
  description: >

    The Config API provides standard HTTP/JSON REST endpoints for creating,
    reading,

    updating, deleting, and listing configurable Chronosphere resources.


    Use this link to download the raw Swagger specification:

    <a href="/api/v1/config/swagger.json">/api/v1/config/swagger.json</a>
  title: Config V1 API
  version: v1
servers:
  - url: https://{tenant}.chronosphere.io
    variables:
      tenant:
        default: tenant
        description: tenant ID assigned by the service provider
security:
  - ApiKeyAuth: []
tags:
  - name: ConfigV1
paths:
  /api/v1/config/otel-metrics-ingestion:
    get:
      tags:
        - OtelMetricsIngestion
      operationId: ReadOtelMetricsIngestion
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/configv1ReadOtelMetricsIngestionResponse'
          description: A successful response.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiError'
          description: >-
            Cannot read the OtelMetricsIngestion because OtelMetricsIngestion
            has not been created.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiError'
          description: An unexpected error response.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/genericError'
          description: An undefined error response.
components:
  schemas:
    configv1ReadOtelMetricsIngestionResponse:
      properties:
        otel_metrics_ingestion:
          $ref: '#/components/schemas/configv1OtelMetricsIngestion'
      type: object
    apiError:
      properties:
        message:
          description: An error message describing what went wrong.
          type: string
      type: object
    genericError:
      additionalProperties: true
      type: object
    configv1OtelMetricsIngestion:
      properties:
        created_at:
          description: >-
            Timestamp of when the OtelMetricsIngestion was created. Cannot be
            set by clients.
          format: date-time
          readOnly: true
          type: string
        resource_attributes:
          allOf:
            - $ref: '#/components/schemas/OtelMetricsIngestionResourceAttributes'
          description: >-
            Specifies how to ingest OpenTelemetry resource attributes. These
            attributes

            have no direct equivalent in the internal data model of Chronosphere

            Observability Platform.
        updated_at:
          description: >-
            Timestamp of when the OtelMetricsIngestion was last updated. Cannot
            be set by clients.
          format: date-time
          readOnly: true
          type: string
      type: object
    OtelMetricsIngestionResourceAttributes:
      properties:
        exclude_keys:
          description: >-
            Specifies resource attributes to exclude. If a resource attribute's
            key

            matches any of the strings in this array, that resource attribute is

            excluded.
          items:
            type: string
          type: array
        filter_mode:
          allOf:
            - $ref: '#/components/schemas/ResourceAttributesFilterMode'
          description: >-
            Specifies which filter mode to use for copying resource attributes
            into

            the label set. The `APPEND_DEFAULT_EXCLUDE_KEYS` mode copies all
            resource

            attributes, excluding any that match either the user-supplied

            `exclude_keys` list or a Chronosphere-managed list of suggested

            exclusions. The `CUSTOM_EXCLUDE_KEYS` mode copies all resource

            attributes, excluding any that match the user-supplied
            `exclude_keys`

            list, but is not affected by the Chronosphere-managed list of
            exclusions.

            Default: `APPEND_DEFAULT_EXCLUDE_KEYS`.
        flatten_mode:
          allOf:
            - $ref: '#/components/schemas/ResourceAttributesFlattenMode'
          description: >-
            Specifies how to combine hierarchical OpenTelemetry attributes into
            a

            single set of of labels for a given time series. The `MERGE` mode
            copies

            resource attributes only if there is no conflicting attribute on the

            individual data point. The `OVERWRITE` mode gives resource
            attributes

            precedence over data point attributes. The `IGNORE` mode doesn't
            copy any

            resource attributes into the time series label set. Default:
            `MERGE`.
        generate_target_info:
          description: >-
            If `true`, generates a `target_info` time series with labels derived
            from

            resource attributes. The `filter_mode` and `exclude_keys` settings
            apply

            in the same manner that they apply to the `flatten` operation.
            Default:

            `false`.
          type: boolean
      type: object
    ResourceAttributesFilterMode:
      enum:
        - APPEND_DEFAULT_EXCLUDE_KEYS
        - CUSTOM_EXCLUDE_KEYS
      type: string
    ResourceAttributesFlattenMode:
      enum:
        - MERGE
        - OVERWRITE
        - IGNORE
      type: string
  securitySchemes:
    ApiKeyAuth:
      description: Chronosphere API token
      in: header
      name: API-Token
      type: apiKey

````