Skip to content

Commit

Permalink
Add jaeger-ui search configuration jaegertracing/jaeger-ui#511 (#348)
Browse files Browse the repository at this point in the history
* Add jaeger-ui search input documentation
Signed-off-by: Gabriel Fernando Dyck <[email protected]>

* Add search input config detail
Signed-off-by: Gabriel Fernando Dyck <[email protected]>

* Improve documentation for search configuration.

Signed-off-by: Gabriel Fernando Dyck <[email protected]>

* Improve search input limit doc.

Signed-off-by: Gabriel Fernando Dyck <[email protected]>
  • Loading branch information
GabrielDyck authored Feb 16, 2020
1 parent 819f388 commit d6ba55e
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion content/docs/next-release/frontend-ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 limits 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:
Expand Down Expand Up @@ -43,6 +44,13 @@ An example configuration file:
]
}
],
"search": {
"maxLookback": {
"label": "2 Days",
"value": "2d"
},
"maxLimit": 1500
},
"linkPatterns": [{
"type": "process",
"key": "jaeger.version",
Expand Down Expand Up @@ -92,6 +100,17 @@ 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 Limit

The `search.maxLimit` configures the maximum results that the input let you search.

The `search.maxLookback` configures the maximum time before the present users can query for traces. The options in the Lookback dropdown greater than this value will not be shown.

Field | Description
------|------------
label | The text displayed in the search form dropdown
value | The value submitted in the search query if the label is selected

### Link Patterns

The `linkPatterns` node can be used to create links from fields displayed in the Jaeger UI.
Expand Down

0 comments on commit d6ba55e

Please sign in to comment.