Skip to content

Metrics publisher support in CRT client #806

@suman-ganta

Description

@suman-ganta

Describe the bug

Netty based client supports specifying metrics publisher. This seem to be missing from the CRT builder. This need to be supported to publish client side metrics.

With Netty client

var client = S3AsyncClient
             .builder()
             .region(US_WEST_2)
             .overrideConfiguration(c -> c.addMetricPublisher(new MyMetricsPublisher()))
            .build()

With CRT client

var client = S3AsyncClient.crtBuilder()
            .region(US_WEST_2)
            .build()

Expected Behavior

Ability to publish client side metrics

Current Behavior

Does not have any way to publish client side metrics

Reproduction Steps

Always reproducible.

Possible Solution

No response

Additional Information/Context

No response

aws-crt-java version used

0.30.0

Java version used

18

Operating System and version

Linux

Metadata

Metadata

Assignees

Labels

feature-requestA feature should be added or improved.p3This is a minor priority issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions