8.3. 타사 시스템에 Telemetry 데이터 전달


OpenTelemetry 수집기는 gRPC 또는 HTTP 전송을 통해 구현된 OTLP(OpenTelemetry Protocol)를 통해 OTLP 내보내기를 사용하여 Telemetry 데이터를 내보냅니다. 타사 시스템에 Telemetry 데이터를 전달해야 하고 OpenTelemetry Red Hat 빌드에서 OTLP 또는 기타 지원되는 프로토콜을 지원하지 않는 경우 OTLP를 통해 Telemetry 데이터를 수신하고 사용자 정의 내보내기를 사용하여 Telemetry 데이터를 수신할 수 있는 지원되지 않는 사용자 지정 OpenTelemetry 수집기를 배포할 수 있습니다.

주의

Red Hat은 사용자 정의 배포를 지원하지 않습니다.

사전 요구 사항

  • OTLP를 통해 Telemetry 데이터를 타사 시스템으로 내보낼 수 있는 지원되지 않는 자체 사용자 정의 내보내기를 개발했습니다.

프로세스

  • OperatorHub 또는 수동으로 사용자 정의 수집기를 배포합니다.

    • 타사 시스템에서 지원하는 경우 OperatorHub를 사용하여 사용자 지정 수집기를 배포합니다.
    • 구성 맵, 배포 및 서비스를 사용하여 사용자 정의 수집기를 수동으로 배포합니다.

      사용자 정의 수집기 배포 예

      apiVersion: v1
      kind: ConfigMap
      metadata:
        name: custom-otel-collector-config
      data:
        otel-collector-config.yaml: |
          receivers:
            otlp:
              protocols:
                grpc:
          exporters:
            debug: {}
            prometheus:
          service:
            pipelines:
              traces:
                receivers: [otlp]
                exporters: [debug] 
      1
      
      ---
      apiVersion: apps/v1
      kind: Deployment
      metadata:
        name: custom-otel-collector-deployment
      spec:
        replicas: 1
        selector:
          matchLabels:
            component: otel-collector
        template:
          metadata:
            labels:
              component: otel-collector
          spec:
            containers:
            - name: opentelemetry-collector
              image: ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector-contrib:latest 
      2
      
              command:
              - "/otelcol-contrib"
              - "--config=/conf/otel-collector-config.yaml"
              ports:
              - name: otlp
                containerPort: 4317
                protocol: TCP
              volumeMounts:
              - name: otel-collector-config-vol
                mountPath: /conf
                readOnly: true
            volumes:
            - name: otel-collector-config-vol
              configMap:
                name: custom-otel-collector-config
      ---
      apiVersion: v1
      kind: Service
      metadata:
        name: custom-otel-collector-service 
      3
      
        labels:
          component: otel-collector
      spec:
        type: ClusterIP
        ports:
        - name: otlp-grpc
          port: 4317
          targetPort: 4317
        selector:
          component: otel-collector

      1
      debug 를 타사 시스템에 필요한 내보내기로 바꿉니다.
      2
      이미지를 타사 시스템에 필요한 내보내기가 있는 OpenTelemetry 수집기의 필수 버전으로 교체합니다.
      3
      서비스 이름은 Red Hat build of OpenTelemetry Collector CR에서 OTLP 내보내기를 구성하는 데 사용됩니다.
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2026 Red Hat
맨 위로 이동