Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add enrichment & filter for http client metrics #4889

Closed

Conversation

hayhay27
Copy link

@hayhay27 hayhay27 commented Sep 26, 2023

Fixes open-telemetry/opentelemetry-dotnet-contrib#1775
Design discussion issue #

Changes

Ability to filter and enrich http client metrics

  • AddHttpClientInstrumentation accepts configuration delegate
  • HttpClientMetricInstrumentationOptions is public now and has two new properties (returning delegates) - Filter and Enrich

Merge requirement checklist

  • CONTRIBUTING guidelines followed (nullable enabled, static analysis, etc.)
  • Unit tests added/updated
  • Appropriate CHANGELOG.md files updated for non-trivial changes
  • Changes in public API reviewed (if applicable)

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Sep 26, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

@hayhay27 hayhay27 force-pushed the httpclient-metrics-enrichment branch from a3965f6 to fe8a089 Compare September 26, 2023 17:10
@hayhay27 hayhay27 force-pushed the httpclient-metrics-enrichment branch from fe8a089 to f0da9eb Compare September 26, 2023 17:14
@cijothomas
Copy link
Member

#4374 Please see the existing PR that never was merged. Adding this require some design discussions to make sure everyone is aligned.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 5, 2023

This PR was marked stale due to lack of activity and will be closed in 7 days. Commenting or Pushing will instruct the bot to automatically remove the label. This bot runs once per day.

@github-actions github-actions bot added the Stale Issues and pull requests which have been flagged for closing due to inactivity label Oct 5, 2023
@github-actions
Copy link
Contributor

Closed as inactive. Feel free to reopen if this PR is still being worked on.

@github-actions github-actions bot closed this Oct 13, 2023
@javito-mfst
Copy link

Why this PR is closed? I don't see this feaure in the current "AddAspNetCoreInstrumentation()" metrics implementation.

@cijothomas
Copy link
Member

Why this PR is closed? I don't see this feaure in the current "AddAspNetCoreInstrumentation()" metrics implementation.

See open-telemetry/opentelemetry-dotnet-contrib#1733 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale Issues and pull requests which have been flagged for closing due to inactivity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enrich support for HttpClientMetrics
3 participants