Comments (2)
hey @CodeBlanch!
I love to work on this but I don't know how to start.
from opentelemetry-dotnet.
Let's add a section in here: https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/docs/metrics/customizing-the-sdk/README.md
Something at the bottom. Like "Advanced scenarios" maybe?
Advanced scenarios
View configuration using delegate
The following code snippet shows how to
use advanced selection criteria to customize the metrics output by the SDK. This requires
the user to provide a Func<Instrument, MetricStreamConfiguration>
which offers
more flexibility in filtering the instruments to which the View
should be
applied.
Caution
It is not recommended to use the delegate overload of the AddView
API because it is not evaluated until the process is running and a measurement is recorded. The OpenTelemetry SDK will NOT throw exceptions when running. Any mistakes made using this overload will cause the View
to be ignored. Exceptions will be written to the internal logging only. Use this API with caution and only when the more simple overloads cannot be used instead.
[Content goes here]
For the content you could start by just restoring what we removed: https://github.com/open-telemetry/opentelemetry-dotnet/pull/5554/files#diff-425a8f436c341c05d10b76aac12d1295330116295a3556990ddf3d2bdaffdaecL43-L53
from opentelemetry-dotnet.
Related Issues (20)
- Promote overflow attribute from experimental to stable HOT 1
- When creating a meter with spaces in the name the meter is not added to the subscription listner and is disabled. HOT 1
- UseOtlpExporter doesn't seem to work with just a logging configuration HOT 2
- Opt-in to using experimental resource attributes HOT 2
- Why AddOpentelemetry enables Microsoft logging? HOT 1
- Make PrometheusExporter public and open to composition to support Pushgateway scenarios
- Remove polyfill packages HOT 2
- How to properly propagate logging baggage to subsequent service invocations and Task.Run async invocations? HOT 12
- Prometheus exporter produces zero-byte HTTP response HOT 5
- Unify resource builder usage between Logging and Metrics/Tracing HOT 1
- Mark ActivityExtensions.RecordException obsolete HOT 5
- How does OTel semver conention work? HOT 2
- Baggage propagation is not possible for instrumentations without depending on OpenTelemetry.Api package HOT 13
- Specifying an endpoint in appsettings.json breaks appending suffix to endpoint path HOT 1
- Add a top-level `UseDebugExporter()` convenience method. HOT 2
- Adding filter processor after also filter previous processor HOT 5
- [BaggagePropagator] handle baggage properties
- OpenTelemetryLoggerOptions.IncludeScopes does not add scopes to logs HOT 6
- Tutorial of `getting-started-aspnetcore` is not working as it refers un-released API HOT 2
- Baggage propagation - known issues
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opentelemetry-dotnet.