From b731ed33b1699d580c18c2da20c1c2239e5e007c Mon Sep 17 00:00:00 2001 From: jcountsNR <94138069+jcountsNR@users.noreply.github.com> Date: Sat, 20 Jan 2024 12:29:47 -0800 Subject: [PATCH] chore: change id to key --- other-examples/collector/confluentcloud/.env | 2 +- other-examples/collector/confluentcloud/README.md | 4 +++- other-examples/collector/confluentcloud/collector.yaml | 2 +- other-examples/collector/confluentcloud/docker-compose.yaml | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/other-examples/collector/confluentcloud/.env b/other-examples/collector/confluentcloud/.env index a5a16760..ac0779ef 100644 --- a/other-examples/collector/confluentcloud/.env +++ b/other-examples/collector/confluentcloud/.env @@ -9,7 +9,7 @@ NEW_RELIC_OTLP_ENDPOINT=https://otlp.nr-data.net/ # Set your authentication keys for the Confluent Cloud metrics API. # docs: https://docs.confluent.io/cloud/current/monitoring/metrics-api.html -CONFLUENT_API_ID= +CONFLUENT_API_KEY= CONFLUENT_API_SECRET= diff --git a/other-examples/collector/confluentcloud/README.md b/other-examples/collector/confluentcloud/README.md index 5cbf12e7..9c35953e 100644 --- a/other-examples/collector/confluentcloud/README.md +++ b/other-examples/collector/confluentcloud/README.md @@ -1,6 +1,8 @@ # Confluent Cloud OpenTelemetry metrics example setup -This example shows a setup for running a prometheus OpenTelemetry Collector in a docker container to scrape metrics from Confluent Cloud and post them the New Relic OTLP Collector Endpoint. For more information, please see our [Kafka with Confluent documentation](https://docs.newrelic.com/docs/more-integrations/open-source-telemetry-integrations/opentelemetry/collector/collector-configuration-examples/opentelemetry-collector-kafka-confluentcloud/). +This example shows a setup for running a prometheus OpenTelemetry Collector in a docker container to scrape metrics from Confluent Cloud and post them the New Relic OTLP Collector Endpoint. + +For more information, please see our [Kafka with Confluent documentation](https://docs.newrelic.com/docs/more-integrations/open-source-telemetry-integrations/opentelemetry/collector/collector-configuration-examples/opentelemetry-collector-kafka-confluentcloud/). ## Prerequisites diff --git a/other-examples/collector/confluentcloud/collector.yaml b/other-examples/collector/confluentcloud/collector.yaml index 3f7e45cb..ebb6d142 100644 --- a/other-examples/collector/confluentcloud/collector.yaml +++ b/other-examples/collector/confluentcloud/collector.yaml @@ -8,7 +8,7 @@ receivers: - targets: ["api.telemetry.confluent.cloud"] scheme: https basic_auth: - username: $CONFLUENT_API_ID + username: $CONFLUENT_API_KEY password: $CONFLUENT_API_SECRET metrics_path: /v2/metrics/cloud/export params: diff --git a/other-examples/collector/confluentcloud/docker-compose.yaml b/other-examples/collector/confluentcloud/docker-compose.yaml index aa3895f6..1770a486 100644 --- a/other-examples/collector/confluentcloud/docker-compose.yaml +++ b/other-examples/collector/confluentcloud/docker-compose.yaml @@ -10,7 +10,7 @@ services: environment: - NEW_RELIC_OTLP_ENDPOINT - NEW_RELIC_API_KEY - - CONFLUENT_API_ID + - CONFLUENT_API_KEY - CONFLUENT_API_SECRET - CLUSTER_ID - CONNECTOR_ID