Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

cmd/bosun: added setting for example expression in *.toml#2261

Merged
kylebrandt merged 1 commit into
bosun-monitor:masterfrom
bookingcom:vpestov/example-expression
Jun 7, 2018
Merged

cmd/bosun: added setting for example expression in *.toml#2261
kylebrandt merged 1 commit into
bosun-monitor:masterfrom
bookingcom:vpestov/example-expression

Conversation

@KozzyKoder

@KozzyKoder KozzyKoder commented May 28, 2018

Copy link
Copy Markdown
Contributor

Changes in this pull request:
-Added optional setting in *.toml file "ExampleExpression" which allows to setup default expression under "Expression" tab in web UI.
-fixed bug: after testing of empty expression other expressions can not be tested (button stops sending expressions to test)
-added error message if user tests empty expression

Why it is needed: currently default expression is defined in expr.ts file and works properly if opentsdb is configured. In other environments (where graphite configured for example) after opening of "Expression" tab user sees error message "expr: non existent function q" that confuses him a bit.

@KozzyKoder KozzyKoder force-pushed the vpestov/example-expression branch from da33dd9 to b67f298 Compare June 4, 2018 18:10
@KozzyKoder KozzyKoder changed the title added setting for example expression in *.toml cmd/bosun: added setting for example expression in *.toml Jun 4, 2018
@kylebrandt kylebrandt merged commit f485714 into bosun-monitor:master Jun 7, 2018
@KozzyKoder KozzyKoder deleted the vpestov/example-expression branch June 9, 2018 20:03
pradeepbbl pushed a commit to bookingcom/bosun that referenced this pull request Jun 18, 2018
pradeepbbl pushed a commit to bookingcom/bosun that referenced this pull request Jul 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants