Skip to content

Bug: Metrics namespace and service should always be set #806

@hjgraca

Description

@hjgraca

Expected Behaviour

Namespace and Service should always be set/checked to guarantee that the values are set manually or through env variables

Current Behaviour

If we did not set manually service and namespace would skip env variable check

Code snippet

<>

Possible Solution

No response

Steps to Reproduce

<>

Powertools for AWS Lambda (.NET) version

Metrics v2

AWS Lambda function runtime

dotnet8

Debugging logs

Metadata

Metadata

Assignees

Labels

area/metricsCore metrics utilitybugUnexpected, reproducible and unintended software behaviourv2v2 release

Type

No type

Projects

Status

🔖 Ready

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions