GithubHelp home page GithubHelp logo

Comments (13)

geoand avatar geoand commented on July 17, 2024 1

Why not to provide tags as map via spring config?

I don't see a way to provide a map of Tags via application.yml/Spring Config.

I think supporting both JAEGER_TAGS + a map from application.yml might be good!

That's pretty much what the PR does 😉

from java-spring-jaeger.

ledor473 avatar ledor473 commented on July 17, 2024 1

Oh I missed that part. That's indeed what it does :)

from java-spring-jaeger.

mwenk-cc avatar mwenk-cc commented on July 17, 2024

PR for this: #17

from java-spring-jaeger.

mwenk-cc avatar mwenk-cc commented on July 17, 2024

Close PR as intended solution had issues.

The spring starter should use environment variables if environment variables are there. So this issue is still open from that perspective.

from java-spring-jaeger.

geoand avatar geoand commented on July 17, 2024

I will look into JAEGER_TAGS but I don't agree that the env vars should be used if they are there.
If the user wanted that, they could just go ahead and use declare a bean from Configuration.fromEnv().getTracerBuilder().
Having said that I will look into ways to provide even more configuration

from java-spring-jaeger.

pavolloffay avatar pavolloffay commented on July 17, 2024

Why not to provide tags as map via spring config?

from java-spring-jaeger.

geoand avatar geoand commented on July 17, 2024

@pavolloffay Thanks for the suggestion, I plan to look into this soon

from java-spring-jaeger.

sagaranand015 avatar sagaranand015 commented on July 17, 2024

@geoand: Any update on this please?
We have a use case to inject the JAEGER_TAGS values from environment, so looking around for this support.
Thanks a ton!

from java-spring-jaeger.

geoand avatar geoand commented on July 17, 2024

@sagaranand015 I just created #36 to address this

from java-spring-jaeger.

sagaranand015 avatar sagaranand015 commented on July 17, 2024

This is lovely!
Eagerly waiting for it be to be merged and released. Thank you @geoand

from java-spring-jaeger.

geoand avatar geoand commented on July 17, 2024

You're welcome!

Once I get a review, I'll merge and do a release

from java-spring-jaeger.

ledor473 avatar ledor473 commented on July 17, 2024

Why not to provide tags as map via spring config?

I don't see a way to provide a map of Tags via application.yml/Spring Config.

I think supporting both JAEGER_TAGS + a map from application.yml might be good!

from java-spring-jaeger.

geoand avatar geoand commented on July 17, 2024

Version 1.0.2 is on the way with a fix on this

from java-spring-jaeger.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.