Skip to content

Feature request: Remove 'service' dimension from single_metric() #3917

Closed
@nikevp

Description

@nikevp

Use case

My team has a specific metric format used across lambda runtimes with the following dimensions: [Operation, Function]. I would like to use single_metric without 'service' added as a third dimension.

I would remove POWERTOOLS_SERVICE_NAME, but we also leverage the powertools Logger.

Solution/User Experience

The ability to exclude 'service' as a dimension from single_metric calls.

Alternative solutions

Support ignoring POWERTOOLS_SERVICE_NAME globally in Metric() since it is required by Logger.

Acknowledgment

Metadata

Metadata

Labels

feature-requestfeature requesthelp wantedCould use a second pair of eyes/hands

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions