Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update opentelemetry-best-practices-resources.mdx #19920

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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