Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/slashmo/swift-w3c-trace-context

Micro-library exposing the W3C Trace-Context as a Swift struct
https://github.com/slashmo/swift-w3c-trace-context

swift swift-distributed-tracing w3c-trace-context

Last synced: 3 months ago
JSON representation

Micro-library exposing the W3C Trace-Context as a Swift struct

Awesome Lists containing this project

README

        

# Swift W3C Trace Context

[![CI](https://github.com/slashmo/swift-w3c-trace-context/actions/workflows/ci.yml/badge.svg)](https://github.com/slashmo/swift-w3c-trace-context/actions/workflows/ci.yml)
[![Swift](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fslashmo%2Fswift-w3c-trace-context%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/slashmo/swift-w3c-trace-context)
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fslashmo%2Fswift-w3c-trace-context%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/slashmo/swift-w3c-trace-context)

A Swift implementation of the [W3C Trace Context](https://www.w3.org/TR/trace-context-1/) standard.

## Documentation

Our documentation is hosted on the
[Swift Package Index](https://swiftpackageindex.com/slashmo/swift-w3c-trace-context/documentation/w3ctracecontext).

## Contributing

Please make sure to run [`./scripts/soundness.sh`](./scripts/soundness.sh) when contributing.
It checks formatting and similar things.

You can ensure it always runs and passes before you push by installing a pre-push hook with git:

```bash
echo './scripts/soundness.sh' > .git/hooks/pre-push
chmod +x .git/hooks/pre-push
```