Skip to content

Compact logging format for LoggingMetricPublisher #6840

@dagnir

Description

@dagnir

Describe the feature

This is a feature request to introduce a more compact LoggingMetricPublisher.Format for LoggingMetricPublisher.

The two available options today, PLAIN and PRETTY produce a lot of text that can be costly for storage if producing a lot of logs.

For example, the PLAIN option has a lot of redundanct, unnecessary information such as the class names (MetricCollecition), and repeating name and value.

We should introduce a third format, COMPACT that aims to be more compact but still human readable.

Use Case

Emitting metrics to logs in a more cost effective way.

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

AWS Java SDK version used

2.x

JDK version used

N/A

Operating System and version

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.p2This is a standard priority issuesdk-metrics

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions