ebay/nautilustelemetry
NautilusTelemetry is an iOS-oriented Swift package to collect [OpenTelemetry](https://github.com/open-telemetry) data and submit it in [OTLP-JSON](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/otlp.md) format to an [OpenTelemetry C
Usage
import NautilusTelemetry
InstrumentationSystem.bootstrap(reporter: ExampleReporter())
func logResponseComplete() {
let tracer = InstrumentationSystem.tracer
tracer.withSpan(name: #function) {
self.populateLogContext()
self.loggers.forEach { logger in
logger.logResponseComplete()
}
}
}
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Package Metadata
Repository: ebay/nautilustelemetry
Default branch: main
README: README.md