oscope-dev / scope

Scoping user machines
https://oscope-dev.github.io/scope/
BSD 3-Clause "New" or "Revised" License
6 stars 3 forks source link

Allow sending metrics via otel #110

Closed ethankhall closed 6 months ago

ethankhall commented 6 months ago

Once merges, we should be able to send metrics to an endpoint with open telemetry.

This will allow corporate env to generate usage metrics.

Testing

image

Using the new otel options

noizwaves commented 6 months ago

Changes look good. How does metric submission handle the endpoint being down?

ethankhall commented 6 months ago

@noizwaves when the endpoint is down, there will be a log output saying that it was unable to send events, but doesn't block/fail anything.