From 15cbf7a7bef4a85c469bd3bbb2a6548be7040988 Mon Sep 17 00:00:00 2001 From: Vinay Kumar Konatala Date: Tue, 4 Feb 2025 15:14:53 +0530 Subject: [PATCH] fix: Documention for otel to aws relationships --- ...opentelemetry-best-practices-resources.mdx | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/src/content/docs/opentelemetry/best-practices/opentelemetry-best-practices-resources.mdx b/src/content/docs/opentelemetry/best-practices/opentelemetry-best-practices-resources.mdx index 5aaff109b27..9f46492ee16 100644 --- a/src/content/docs/opentelemetry/best-practices/opentelemetry-best-practices-resources.mdx +++ b/src/content/docs/opentelemetry/best-practices/opentelemetry-best-practices-resources.mdx @@ -142,3 +142,73 @@ or with one of the methods below. Adding resource attributes prefixed with `tags` will result in a tag on your entity in New Relic. For example, adding the attribute `tags.mytag=myvalue` will result in the entity tag `mytag=myvalue`. + + +#### AWS Lambda Alias + +The Amazon CloudWatch Metric Streams integration for +[AWS Lambda Alias](https://docs.newrelic.com/docs/infrastructure/amazon-integrations/aws-integrations-list/aws-lambda-monitoring-integration/) +generates AWS Lambda Alias entities in New Relic. These entities will have the +following entity tags: + +* `aws.Arn` + +If your services use OpenTelemetry instrumentation for Lambda with Aliases, it must emit +the following attributes for a relationship to be generated: + +* `rpc.service`: This attribute must have the value `Lambda`. +* `cloud.resource_id`: This attribute must match the corresponding aws.Arn tag of the + AWS Lambda Alias entity. + + +#### AWS Kinesis Stream + +The Amazon CloudWatch Metric Streams integration for +[AWS Kinesis](https://docs.newrelic.com/docs/infrastructure/amazon-integrations/aws-integrations-list/aws-kinesis-data-analytics-monitoring-integration/) +generates AWS Kinesis Stream entities in New Relic. These entities will have the +following entity tags: + +* `aws.Arn` + +If your services use OpenTelemetry instrumentation for Kinesis, it must emit +the following attributes for a relationship to be generated: + +* `rpc.service`: This attribute must have the value `kinesis`. +* `cloud.resource_id`: This attribute must match the corresponding aws.Arn tag of the + AWS Kinesis Stream entity. + + +#### AWS Kinesis Delivery Stream + +The Amazon CloudWatch Metric Streams integration for +[AWS Kinesis Delivery Stream](https://docs.newrelic.com/docs/infrastructure/amazon-integrations/aws-integrations-list/aws-kinesis-data-firehose-monitoring-integration/) +generates AWS Kinesis Delivery Stream entities in New Relic. These entities will have the +following entity tags: + +* `aws.Arn` or `aws.arn` + +If your services use OpenTelemetry instrumentation for Kinesis Firehose, it must emit +the following attributes for a relationship to be generated: + +* `instrumentation.provider`: This attribute must have the value `opentelemetry`. +* `rpc.service`: This attribute must have the value `Firehose`. +* `cloud.resource_id`: This attribute must match the corresponding aws.Arn or aws.arn tag of the + AWS Kinesis Delivery Stream entity. + + +#### AWS Redshift Cluster + +The Amazon CloudWatch Metric Streams integration for +[AWS Redshift](https://docs.newrelic.com/docs/infrastructure/amazon-integrations/aws-integrations-list/aws-redshift-integration/) +generates AWS Redshift Cluster entities in New Relic. These entities will have the +following entity tags: + +* `aws.redshift.serverAddress` + +If your services use OpenTelemetry instrumentation for Redshift, it must emit +the following attributes for a relationship to be generated: + +* `instrumentation.provider`: This attribute must have the value `opentelemetry`. +* `rpc.service`: This attribute must have the value `Redshift`. +* `server.address`: This attribute must match the corresponding aws.redshift.serverAddress tag of the + AWS Redshift Cluster entity. \ No newline at end of file