Open secustor opened 1 year ago
That's an interesting idea. I never personally used OpenTelemetry before, but it sounds like this should be a nice feature to introduce. Would you send to OpenTelemetry the parsed file from the machine after parsing it with XCLogParser?
The simplest implementation would to start with integrating https://github.com/open-telemetry/opentelemetry-swift which would push the traces to a compatible backend directly. That could be OSS tools like Jaeger or Grafana Tempo on the one side or SaaS sytems like Datadog
I'd recommend https://github.com/apple/swift-distributed-tracing over the opentelemetry-swift port as that's where the Swift on Server ecosystem is moving.
Looking at the definition of BuildStep it looks like there is everything to create traces in the OTEL format.
This would allow to send build profiling data to nearly any Observability tooling.
Based on the short peak into the code base this should need only a new reporter.
TBD: