-
Notifications
You must be signed in to change notification settings - Fork 2.4k
[tempo-distributed] drop jaeger-ui related ports and config completely #3963
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
base: main
Are you sure you want to change the base?
[tempo-distributed] drop jaeger-ui related ports and config completely #3963
Conversation
…o-query only if enabled Currently the service monitor is added regardless of whether the old jaeger mode is enabled or not. Similar to the ports on the deployment and service, we only include the servicemonitor if `queryFrontend.query.enabled=true`. Additionally, the selector of the service monitor does not work anyway, because the service that includes the old ports has a different `app.kubernetes.io/component` label than the one created from the servicemonitor template Signed-off-by: Alexander Bartolomey <[email protected]>
1. remove servicemonitor. tempo-query is now only a gRPC proxy for jaeger. There's not metrics, and no UI anymore 2. remove jaeger metrics and ui ports from service. They plainly dont exist anymore. the ports are also not what the server expects, there's a single server running on default 7777 3. use correct config file for tempo-query, the executable loads the wrong config file Signed-off-by: Alexander Bartolomey <[email protected]>
The port was still pointing to a jaeger-related HTTP port, this is gone since grafana/tempo#3840 so don't use it anymore HTTP ingress is no longer for connecting to jaeger UI, but can instead be used for e.g. grafana data sources access via ingress Signed-off-by: Alexander Bartolomey <[email protected]>
Signed-off-by: Alexander Bartolomey <[email protected]>
| @@ -1,4 +1,4 @@ | |||
| {{- if and .Values.queryFrontend.query.enabled .Values.queryFrontend.ingress.enabled -}} | |||
| {{- if .Values.queryFrontend.ingress.enabled -}} | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any reason to change this?
| service: | ||
| # -- Port of the query-frontend service | ||
| port: 16686 | ||
| port: 3200 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should it not be 7777?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it should, can you use this value in the templates instead to avoid magic numbers?
This no longer works, grafana/tempo#3840 removed jaeger from tempo-query, changing with it the port that the server running in the container listens to:
7777of tempo-query. Note that the container port isn't configurable right now. If you opt to setADDRESSviaqueryFrontend.query.extraEnvsto something different, you cannot access the server anymore from outside the pod.queryFrontendIngress. This no longer works for accessing Jaeger UI. Instead, you can repurpose the ingress, e.g. for configuring Grafana data sourcestempo-querydoesn't export any metrics, there's nothing to scrape there, so this can be dropped completely in favour of the already existing service monitor for query-frontend's HTTP portmost of these changes probably also need to be reflected in the non-distributed charts as well, but I'm awaiting feedback here first.