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 support for signposting with OSLogs created by MetricKit #583

Open
SwiftNativeDeveloper opened this issue Jul 31, 2024 · 1 comment
Open
Labels
metrics Metrics feature or improvement

Comments

@SwiftNativeDeveloper
Copy link

Allow instrumentation to use MetricKit created OSLog instances. This will allow any signposts data to be emitted into MetricKit payloads
https://developer.apple.com/documentation/metrickit/mxmetricmanager/makeloghandle(category:)

Signposts will be created as metrics here:
https://developer.apple.com/documentation/metrickit/mxsignpostmetric

And if there is a diagnostic captured within the interval of the payload, signposts will be correlated against issues here:
https://developer.apple.com/documentation/metrickit/mxdiagnostic/signpostdata

@alolita alolita added the metrics Metrics feature or improvement label Aug 8, 2024
@bryce-b
Copy link
Member

bryce-b commented Aug 8, 2024

Have you taken a look at https://github.com/open-telemetry/opentelemetry-swift/tree/main/Sources/Bridges/OTelSwiftLog ?
Does this satisfy your needs? If not, we can expand it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
metrics Metrics feature or improvement
Projects
None yet
Development

No branches or pull requests

3 participants