Skip to content

Compact logging format for LoggingMetricPublisher #6840

Open

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

Activity

  1. added
    feature-requestA feature should be added or improved.
    needs-triageThis issue or PR still needs to be triaged.
    on Apr 6, 2026
  2. added
    p2This is a standard priority issue
    and removed
    needs-triageThis issue or PR still needs to be triaged.
    on Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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