Skip to content

Commit

Permalink
Update opentelemetry-best-practices-resources.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanjalee-NewRelic authored Feb 7, 2025
1 parent 6c4c747 commit cc791d1
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,26 @@ the following attributes for a relationship to be generated:
* `span.kind`: This relationship is generated from span data where `span.kind`
is `producer` or `consumer`.

#### Amazon Managed Kafka (MSK)

The Amazon CloudWatch Metric Streams integration for
[MSK](/docs/infrastructure/amazon-integrations/aws-integrations-list/aws-managed-kafka-msk-integration)
generates MSK entities in New Relic. These entities will have the
following entity tag:

* `aws.clusterName` or `aws.kafka.ClusterName`
* `aws.awsRegion` or `aws.region`
* `aws.topic` or `aws.kafka.Topic`

If your services use OpenTelemetry instrumentation for MSK it must have
the following attributes for a relationship to be generated:

* `messaging.destination.name`: The MSK topic to which the service is either producing messages or consuming messages.
* `server.address`: This attribute must match the corresponding endpoint tag
of the MSK entity.
* `span.kind`: This relationship is generated from span data where `span.kind`
is `producer` or `consumer`.

## Adding custom tags to an entity [#tags]

You can use tags to organize and filter your entities in the UI.
Expand Down

0 comments on commit cc791d1

Please sign in to comment.