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

Configuring service name #5

Closed
mbusi opened this issue Oct 27, 2021 · 2 comments
Closed

Configuring service name #5

mbusi opened this issue Oct 27, 2021 · 2 comments

Comments

@mbusi
Copy link
Contributor

mbusi commented Oct 27, 2021

It would be nice to have a way to set different service names for different applications running inside umbrella apps

@mbusi
Copy link
Contributor Author

mbusi commented Oct 28, 2021

After doing some tests on mario (claims backoffice umbrella app) I don't think it can be done at configuration level, since even when two different apps (in the umbrella) call PrimaOpentelemetryEx.setup() opentelemetry gets actually started once (and so it reads configurations just once).
It might be much easier to pass it at runtime in our traces entrypoints; e.g in Teleplug, as it was before...

plug Teleplug, service_name: "example"

@mbusi
Copy link
Contributor Author

mbusi commented Oct 28, 2021

Moved it here: primait/teleplug#22

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

1 participant