简体   繁体   中英

Jaeger Tracing Config Endpoint

I'm trying setting up a spring application which use Jaeger/Prometheus. I already configured Prometheus successfully by prometheus.yaml file, but I haven't understood how configure Jaeger target endpoint. Must I create a new yaml file and specify into it the configuration? If yes, with which syntax?

The Jaeger tracer (the part that runs along with your application) will send spans via UDP to an agent running on localhost by default. If your agent is somewhere else, set the JAEGER_AGENT_HOST / JAEGER_AGENT_PORT env vars accordingly. If you don't want an agent running on localhost and want to access a Jaeger Collector directly via HTTP, then set the JAEGER_ENDPOINT env var.

More info about these env vars can be found in the documentation or here: https://github.com/jaegertracing/jaeger-client-java/tree/master/jaeger-core#configuration-via-environment

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM