Skip to content

Add support for Micrometer's Observation API  #4611

@jonatan-ivanov

Description

@jonatan-ivanov

Describe the feature

With Micrometer 1.10.0 (I'm a maintainer), a new API was released called the Observation API. It lets users instrument their components once and then get multiple benefits out of it e.g.: metrics, distributed tracing, (audit) logs, publishing arbitrary events, etc.

We also released Micrometer Tracing (it's a new project) which is not a must but plays nicely with the Observation API and it can bridge calls to OpenTelemetry or OpenZipkin's Brave.

What do you think about instrumenting the AWS SDK using Micrometer (probably in a separate module) so that users can get observability support when they use the SDK.

Use Case

The use cases are quite wide, the goal of the Observation API is to be able to cover a lot of the Observability needs of the users, for example:

  • Users want metrics in their apps (they can use micrometer metrics or other libraries, e.g.: dropwizard-metrics)
  • Users want distributed tracing in their apps (they can use Micrometer Tracing with Brave/OTel or other libraries)
  • Users want both metrics and distributed tracing in their apps
  • Users want to listen to and publish custom events in their applications and emit logs, write an audit DB, etc.

Proposed Solution

No response

Other Information

It seems that there is a user demand for this, see:

Acknowledgements

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

AWS Java SDK version used

irrelevant

JDK version used

irrelevant

Operating System and version

irrelevant

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions