Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trpc-ecosystem/go-opentracing-zipkin
https://github.com/trpc-ecosystem/go-opentracing-zipkin
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/trpc-ecosystem/go-opentracing-zipkin
- Owner: trpc-ecosystem
- License: other
- Created: 2023-10-07T07:09:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-24T12:08:26.000Z (about 1 year ago)
- Last Synced: 2024-12-29T06:12:59.284Z (10 days ago)
- Language: Go
- Size: 54.7 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# tRPC zipkin plugin
[![Go Reference](https://pkg.go.dev/badge/github.com/trpc-ecosystem/go-opentracing-zipkin.svg)](https://pkg.go.dev/github.com/trpc-ecosystem/go-opentracing-zipkin)
[![Go Report Card](https://goreportcard.com/badge/trpc.group/trpc-go/trpc-opentracing-zipkin)](https://goreportcard.com/report/trpc.group/trpc-go/trpc-opentracing-zipkin)
[![LICENSE](https://img.shields.io/badge/license-Apache--2.0-green.svg)](https://github.com/trpc-ecosystem/go-opentracing-zipkin/blob/main/LICENSE)
[![Releases](https://img.shields.io/github/release/trpc-ecosystem/go-opentracing-zipkin.svg?style=flat-square)](https://github.com/trpc-ecosystem/go-opentracing-zipkin/releases)
[![Tests](https://github.com/trpc-ecosystem/go-opentracing-zipkin/actions/workflows/prc.yml/badge.svg)](https://github.com/trpc-ecosystem/go-opentracing-zipkin/actions/workflows/prc.yml)
[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-opentracing-zipkin/branch/main/graph/badge.svg)](https://app.codecov.io/gh/trpc-ecosystem/go-opentracing-zipkin/tree/main)## Configuration example:
```yaml
plugins:
tracing:
zipkin:
service_name: HelloTestService
host_port: 120.0.0.1:8080
reporter:
type: http # types: http kafka noop
http:
url: http://localhost:9411/api/v2/spans
sampler:
type: always # types: never always modulo boundary counting
```- The plugin contains a global tracer, and each service has a corresponding tracer.
- The above example is the configuration of the global tracer; The reporting endpoint corresponds to (service_name, host_port). If these two items are not configured, (server.server, global.local_ip) will be used by default.
- For the tracer of each service, its reporting endpoint uses the (Name, ip:port) configured by the service by default.