airbnb/nautilustelemetry
NautilusTelemetry is an iOS-oriented Swift package to collect OpenTelemetry data and submit it in OTLP-JSON format to an [OpenTelemetry C
Usage
import NautilusTelemetry
InstrumentationSystem.bootstrap(reporter: ExampleReporter())
func example() {
let tracer = InstrumentationSystem.tracer
tracer.withSpan(name: #function) {
self.doWork()
}
}
Contributing
Pull requests are welcome. Please install swiftformat and run swiftformat . manually before submitting a PR. 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: airbnb/nautilustelemetry
Default branch: main
README: README.md