Skip to content

AWS v2 RPC SecretsManager.DescribeSecret: record secret ARN #14549

@devurandom

Description

@devurandom

Is your feature request related to a problem? Please describe.

When making a software.amazon.awssdk.services.secretsmanager.model.DescribeSecretRequest, the span created by OpenTelemetry Java agent 2.18.1 currently contains these attributes (related to the RPC):

rpc.method:  DescribeSecret
rpc.service: SecretsManager
rpc.system:  aws-api

The ARN of the secret requested is missing (also not present in the non-rpc.* attributes), which makes it difficult to know what secret was being requested.

Describe the solution you'd like

It would be nice if in addition OpenTelemetry Java agent would also record the ARN of the AWS secret requested (software.amazon.awssdk.services.secretsmanager.model.DescribeSecretRequest.Builder#secretId).

Describe alternatives you've considered

No response

Additional context

No response

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions