instana / go-sensor

:rocket: Go Distributed Tracing & Metrics Sensor for Instana
https://www.instana.com/
MIT License
122 stars 39 forks source link

Initialize Tracer with common tags ... #58

Closed etsangsplk closed 6 years ago

etsangsplk commented 6 years ago

If I want to to tag all the spans with static metadata of microservice (e.g. hostname or other logical naming things) , it will be very helpful if I can just set that at tracer initialization time, rather than send that on every span as tag.

pglombardo commented 6 years ago

See the Service option at Tracer initialisation here: https://github.com/instana/go-sensor#opentracing

I'm going to close but let me know if this wasn't what you're looking for.

etsangsplk commented 6 years ago

@pglombardo I was referring to static metadata, not just SERVICE. Am looking for something that is as convenient as what lightstep offers.

pglombardo commented 6 years ago

Ah makes sense. Could you file a support ticket with your Instana account info? Then we can look to potentially getting this (and the recorder request) into the pipeline sooner than later.