Skip to content

Consistently add outcome tag to all HTTP client instrumentation #3729

Closed

Description

@kubamarchwicki

To enhance metrics filtering, a grouping outcome tag would be helpful in http_client_requests, similar to the outcome tag in the http_server_requests.

For less matured metrics systems (like CloudWatch) it's impossible to filter by patterns, and having a similar grouping in HTTP client and server metrics would be very helpful.

PS. I couldn't find any issue related to this one, so I created a new one. Please let me know if I've overlooked something
PS2. If such a tag makes sense, I'm happy to raise a PR and work on that.

Activity

  1. shakuzen commented on Mar 31, 2023

    @shakuzen
    Member

    Thanks for opening the issue. Which HTTP client instrumentation are you using? We already have an outcome tag on some of them.

  2. added
    waiting for feedback
    and removed on Mar 31, 2023
  3. kubamarchwicki commented on Mar 31, 2023

    @kubamarchwicki
    ContributorAuthor

    Thank you for the swift answer. I was instrumenting JDK11 HttpClient
    I can see the Outcome::forStatus is used a couple of times, but primarily for server-side requests (and for JettyClient).

    I'll happily raise a couple of PRs for different clients to align it

  4. shakuzen commented on Mar 31, 2023

    @shakuzen
    Member

    Thank you for the offer to help. We'd be happy to review pull requests for this.

  5. added
    enhancement
    module: micrometer-core
    help wanted
    and removed
    waiting for feedback
    on Mar 31, 2023
  6. modified the milestones: 1.x, 1.11.0-RC1 on Mar 31, 2023
  7. removed
    help wanted
    on Apr 4, 2023
  8. changed the title [-]An outcome tag in the http_client_requests[/-] [+]Consistently add `outcome` tag to HTTP client instrumentation[/+] on Apr 4, 2023
  9. changed the title [-]Consistently add `outcome` tag to HTTP client instrumentation[/-] [+]Consistently add `outcome` tag to all HTTP client instrumentation[/+] on Apr 17, 2023
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

    enhancementmodule: micrometer-core

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions