Skip to content

Commit

Permalink
chore: change id to key
Browse files Browse the repository at this point in the history
  • Loading branch information
jcountsNR committed Jan 20, 2024
1 parent dd4dfe5 commit b731ed3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion other-examples/collector/confluentcloud/.env
Original file line number Diff line number Diff line change
Expand Up @@ -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=


Expand Down
4 changes: 3 additions & 1 deletion other-examples/collector/confluentcloud/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion other-examples/collector/confluentcloud/collector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b731ed3

Please sign in to comment.