Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How add variable –es.tags-as-fields.all –es.index-prefix –es.server-urls to yaml config ? #1299

Closed
patsevanton opened this issue Jan 25, 2019 · 6 comments

Comments

@patsevanton
Copy link

Hello!
I run ./jaeger-all-in-one --es.tags-as-fields.all=true --es.index-prefix=myteam.jaeger --es.server-urls=http://ip-server:9200

How add variable –es.tags-as-fields.all –es.index-prefix –es.server-urls to yaml config ?

jaeger-all-in-one --config-file=/etc/jaeger-config.yaml

Thanks!

@jpkrohling
Copy link
Contributor

Each "dot" would be a new child node in the YAML file, like:

es:
  tags-as-fields:
    all: true
  index-prefix: myteam-jaeger
  server-urls: "http://ip-server:9200"

Make sure to run the process with the env var SPAN_STORAGE_TYPE set to elasticsearch, like:

SPAN_STORAGE_TYPE=elasticsearch jaeger-all-in-one --config-file=/etc/jaeger-config.yaml

@jpkrohling
Copy link
Contributor

(I'm closing this, but feel free to reopen if you still have questions)

@yurishkuro
Copy link
Member

Maybe we need a section in the documentation about this pattern

@ranetkaSt
Copy link

Maybe we need a section in the documentation about this pattern

It would be great because there are no examples for this case in the documentation or external sites.

@jpkrohling
Copy link
Contributor

Would you be interested in contributing to the docs? I think the most appropriate place would be this page:

https://www.jaegertracing.io/docs/1.9/deployment/#configuration-3

Which is built based on this source file:

https://github.com/jaegertracing/documentation/blob/master/content/docs/next-release/deployment.md#configuration-3

Note that the last link is about the next-release, but I think it should be added to both 1.9 and next-release.

@hdong69
Copy link

hdong69 commented Jul 18, 2023

what about adding the variables in docker-compose file ? where should i put the variables ? i use only 2 components: jaeger-collector, jaeger-query

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants