-
Notifications
You must be signed in to change notification settings - Fork 168
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
Add jaeger-ui search configuration jaegertracing/jaeger-ui#511 #348
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
|
@@ -12,7 +12,8 @@ Several aspects of the UI can be configured: | |||||||
* The Dependencies section can be enabled / configured | ||||||||
* Google Analytics tracking can be enabled / configured | ||||||||
* Additional menu options can be added to the global nav | ||||||||
|
||||||||
* Search input can be configured | ||||||||
|
||||||||
These options can be configured by a JSON configuration file. The `--query.ui-config` command line parameter of the query service must then be set to the path to the JSON file when the query service is started. | ||||||||
|
||||||||
An example configuration file: | ||||||||
|
@@ -43,6 +44,13 @@ An example configuration file: | |||||||
] | ||||||||
} | ||||||||
], | ||||||||
"search": { | ||||||||
"maxLookback": { | ||||||||
"label": "2 Days", | ||||||||
"value": "2d" | ||||||||
}, | ||||||||
"maxLimit": 1500 | ||||||||
}, | ||||||||
"linkPatterns": [{ | ||||||||
"type": "process", | ||||||||
"key": "jaeger.version", | ||||||||
|
@@ -92,6 +100,11 @@ Links can either be members of the `menu` Array, directly, or they can be groupe | |||||||
|
||||||||
The `items` Array should contain one or more link configurations. | ||||||||
|
||||||||
### Search Input | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
|
||||||||
`search.maxLookback` allows to define the max look back interval that the ui will show in the select input. | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What are the valid values for this? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Mmm, I'm not sure about that. I'll check There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Raw for above markdown:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've just added this. Let me know for any changes. |
||||||||
`search.maxLimit` allows to define the max limit that the input will let you search. | ||||||||
|
||||||||
### Link Patterns | ||||||||
|
||||||||
The `linkPatterns` node can be used to create links from fields displayed in the Jaeger UI. | ||||||||
|
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.
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.
In this case, it isn't a default value, it's the max value that the input(maxLimit and maxLookback) can take.
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.
then let's change to "search input limits", because we're not configuring "inputs"