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

Handling UI configuration in a json file #68

Closed
objectiser opened this issue Oct 16, 2018 · 7 comments
Closed

Handling UI configuration in a json file #68

objectiser opened this issue Oct 16, 2018 · 7 comments

Comments

@objectiser
Copy link
Contributor

Currently the CR enables options (name value pairs) to be specified which are converted to arguments supplied to the executable.

However UI configuration requires the specification of a separate file.

Wondering whether all options should be defined in a configmap per jaeger instance?

@jpkrohling
Copy link
Contributor

jpkrohling commented Oct 16, 2018

I completely missed this part. Is this config file new?

I did consider a configmap for the other parts, similar to what we have for Kubernetes/OpenShift, but I then realized that the CR is the configuration source. It's unclear what would be the behavior if someone changes a configmap that is managed by the operator.

In that sense, I think I would do the same here: we could have a construct similar to Options (or even just reuse it, I think it might work), and convert it to JSON when it needs to be used. Like:

apiVersion: "io.jaegertracing/v1alpha1"
kind: "Jaeger"
metadata:
  name: "ui-options"
spec:
  strategy: all-in-one
  ui:
    tracking: 
      gaID: UA-000000-2

@objectiser
Copy link
Contributor Author

No its not new. Agree with your point about the configmap.

@objectiser
Copy link
Contributor Author

We should also think about how this might link with the spark dependencies job (e.g. #44) - so if the dependencies job is enabled when using production strategy, then the UI dependencies tab should also be enabled. But the converse is also true - the dependencies tab should automatically be disabled if the spark job is not enabled.

@pavolloffay
Copy link
Member

pavolloffay commented Nov 15, 2018

Other related configuration is archive traces jaegertracing/jaeger#818. IIRC there should be a button available when the archive index is specified. The c* already supports achieving.

I mean the button has to be enabled via ui-config.

@pavolloffay
Copy link
Member

Here is the link for UI config file https://www.jaegertracing.io/docs/1.8/deployment/#ui-configuration

@jpkrohling
Copy link
Contributor

This was addressed by #115, right?

@objectiser
Copy link
Contributor Author

Yes

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

3 participants