Skip to content

Multi-Target Generation from Single Method #77

@kieronlanning

Description

@kieronlanning

There are occasions when you need to notify a Span (Activity) via an Event of a failure / exception - but at the same time want to also send a log event, perhaps even increment a failure counter.

Currently that involves creating a specific method for each target you want to incorporate on the telemetry interface.

I'm thinking of ways to have a single method generate targets for each requested MELT type, with as close to zero allocations as possible.

This would also need to have the ability to exclude parameters from given targets.

It would also likely mean I would need to be stricter on some parameter types, especially around things like metric Func<> types.

This would likely mean a v4 release, although I'll try and keep any/ all breaking changes to an absolute minimum if any - even try for opt-in support.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions