faro-web-sdk icon indicating copy to clipboard operation
faro-web-sdk copied to clipboard

Support Otel Metrics

Open MrCrunchwrap opened this issue 1 year ago • 1 comments

Description

I've been incorporating Faro into some observability work lately, and it's fantastic! One thing I've been curious about is the ability to translate Faro data to Open Telemetry, which eventually pointed me towards the OTLP transport.

https://github.com/grafana/faro-web-sdk/tree/main/experimental/transport-otlp-http seems to be a great solution for sending Faro data to Open Telemetry collectors, but it doesn't support Metrics very well. I was wondering if Faro has any plans to create APIs that could be more closely matched to Otel metrics?

Proposed solution

Add functions to the SDK that more closely match what is available in Open Telemetry

Context

N/A

MrCrunchwrap avatar Mar 14 '24 14:03 MrCrunchwrap

Hey @MrCrunchwrap

Thanks a lot for the good feedback and the feature requests as well. 🙏 Yes we definitely need metrics support in the OTLP transporter.

Though it'll be likely a stripped down format. For example we may not be able to derive proper aggregation types for example.

I can not promise when we are able to tackle it because of conflicting priorities. I'll keep you updated.

Cheers, Marco

cc @cedricziel

codecapitano avatar Mar 14 '24 15:03 codecapitano