aws-observability / aws-otel-helm-charts

AWS Distro for OpenTelemetry (ADOT) Helm Charts
https://aws-otel.github.io/
Apache License 2.0
46 stars 40 forks source link

Prometheus remote write #11

Closed nlamirault closed 2 years ago

nlamirault commented 2 years ago

Hi, how can i specify the configuration for Prometheus Remote Write ? Like here : https://github.com/aws-samples/amazon-eks-observability-demo/blob/main/observability/resources/adot-configmap.yaml

adot-collector-config: |

    exporters:
      awsprometheusremotewrite:
        # replace this with your endpoint
        endpoint: "${APS_REMOTE_WRITE_ENDPOINT}"
        # replace this with your region
        aws_auth:
          region: "${APS_REGION}"
          service: "aps"
        namespace: "adot"
      awsxray:
          region: "${AWS_REGION}"
      logging:
        loglevel: debug
    extensions:
      health_check:
      pprof:
        endpoint: :1888
      zpages:
        endpoint: :55679
    service:
      extensions: [pprof, zpages, health_check]
      pipelines:
        traces:
          receivers: [otlp]
          exporters: [awsxray]
        metrics:
          receivers: [prometheus]
          exporters: [logging, awsprometheusremotewrite]
alolita commented 2 years ago

Hi @nlamirault this Helm chart is used sending telemetry data to CloudWatch Container Insights. We plan to add other Helm charts to send metrics to AMP (which uses PRW).

ruthvik17 commented 2 years ago

Hi @nlamirault , There is PR submitted for adding support for Amazon Managed Service for Prometheus to the helm chart. Link: https://github.com/aws-observability/aws-otel-helm-charts/pull/13

alolita commented 2 years ago

Closing issue. Pl reopen if user responds back.