Commit graph

62 commits

Author SHA1 Message Date
Yonas Habteab
7de29c7597 Cast args explicitly to int 2023-08-30 13:33:36 +02:00
Yonas Habteab
d3553d557d Cast args explicitly to string 2023-08-30 13:33:36 +02:00
Eric Lippmann
3377399b40 Handle explicit width via JS and not via inline CSS
If the width of a graph has been explicitly defined in a template, it
must be handled specially: In detail areas, the image must not be scaled
to 100% and in the other views, it must not exceed the width of the
parent container. So far, this has been achieved using inline styles,
which must be avoided to support strict CSP.
2023-07-03 11:49:52 +02:00
raviks789
c7abdfa0f3 Fix PHP 8.2 support issues 2023-06-28 11:30:02 +02:00
Eric Lippmann
173e740dee Fix code style 2022-09-19 09:51:37 +02:00
Daniel Heule
9e1438779e fix for graph height and width declared in template 2022-08-24 13:52:27 +02:00
Yonas Habteab
a0919886a1 Adjust usage of object->checkcommand everywhere 2022-06-10 10:54:32 +02:00
Sukhwinder Dhillon
428ec4aa87 Make existing classes icingadb compatible 2022-03-11 15:18:23 +01:00
Johannes Meyer
3855d2b29f Make graphs themeable 2022-03-08 10:51:38 +01:00
Johannes Meyer
aff4079986 Don't perform static calls on traits 2022-01-14 11:32:00 +01:00
Johannes Meyer
53743669ec Fix style issues 2021-04-08 15:31:09 +02:00
Alexander A. Klimov
015044d283 Detail view extension: actually load at most two graphs
refs #202
2019-03-04 14:49:17 +01:00
Alexander A. Klimov
33963cf3b2 Serve dummy images inline
refs #185
2019-01-18 15:58:14 +01:00
Alexander A. Klimov
25c11d2e9f PDF export: fix elephant oversight 2018-08-27 10:08:57 +02:00
Alexander A. Klimov
15a7ae49f0 Render graphs inline while exporting PDF 2018-08-03 17:14:15 +02:00
Alexander A. Klimov
3b8d36a807 Metric paths: support all monitored object core attributes provided by the monitoring module
refs #145
2018-07-18 15:37:58 +02:00
Alexander A. Klimov
369a9db684 Generalize graphs widget
refs #145
2018-06-04 16:03:30 +02:00
Alexander A. Klimov
0b08157418 Limit graphs loaded by default per monitored object
refs #160
2018-04-06 16:35:02 +02:00
Alexander A. Klimov
5cd758eca5 Fix wrong debug message 2018-04-04 09:31:20 +02:00
Alexander A. Klimov
a9db19adab Implement optional graphs assembling debugging
refs #150
2018-03-28 18:01:48 +02:00
Alexander A. Klimov
5438bab99b Link to the config form in case of a config error 2018-03-21 10:23:12 +01:00
Alexander A. Klimov
759851adc5 Merge branch 'bugfix/layout-collapse' 2018-03-21 09:17:34 +01:00
Alexander A. Klimov
bfc6994479 Handle detail view component render error 2018-03-20 17:29:24 +01:00
Alexander A. Klimov
cec7a1df43 Keep the images layout fixed even if some fail to load 2018-03-20 16:47:01 +01:00
Alexander A. Klimov
57150d2405 Display charts based on the default template(s) assembled from metrics not covered by concrete templates' filters
refs #135
2018-02-12 14:32:00 +01:00
Alexander A. Klimov
fee240e830 Separate default templates more strictly from the other ones
refs #135
2018-02-09 18:23:23 +01:00
Alexander A. Klimov
9d17b1306a Filter templates (again) by monitored object type they're designed for 2018-02-09 13:56:22 +01:00
Alexander A. Klimov
be4b4a4ad8 Fix bad reference foreach 2018-02-09 12:09:30 +01:00
Alexander A. Klimov
8746c2fcac Group graphs by service elements
refs #124
2018-02-02 10:42:29 +01:00
Alexander A. Klimov
dd68f8f051 Make templates overridable by (check command, name) 2018-01-12 11:40:17 +01:00
Alexander A. Klimov
3c84181723 Combine some templates 2018-01-12 11:34:29 +01:00
Alexander A. Klimov
c7201e03e8 Merge branch 'feature/disable-no-graphs-found-99'
refs #99
2017-12-19 11:17:16 +01:00
Alexander A. Klimov
a410e50c82 Add setting: Disable "no graphs found"
refs #99
2017-12-18 18:09:55 +01:00
Alexander A. Klimov
accb255ce7 Enlarge the smaller graphs 2017-12-18 13:21:58 +01:00
Alexander A. Klimov
daea0c2c78 Merge branch 'feature/option-default-time-range-98'
fixes #98
2017-12-18 11:31:13 +01:00
Alexander A. Klimov
1c843915ac Add global option to set default time range
refs #98
2017-12-15 16:32:19 +01:00
Alexander A. Klimov
2450fcb2fe Parameterize the service variable vars.check_command
refs #101
2017-12-15 14:33:56 +01:00
Alexander A. Klimov
ceb114701b Detail view extension: only show the graphs section if there are graphs to show 2017-11-27 15:38:30 +01:00
Alexander A. Klimov
e33b2b42c0 Use the framework's "Show more" spoilers 2017-11-22 10:37:59 +01:00
Alexander A. Klimov
64615236db Merge branch 'bugfix/reduce-graph-flickering-72'
fixes #72
2017-11-21 18:26:27 +01:00
Alexander A. Klimov
58eb4642e9 Simplify internal time range interfaces
refs #86
2017-11-21 11:59:17 +01:00
Alexander A. Klimov
369e39382b Remove all kinds of flickering
refs #72
2017-11-16 18:34:32 +01:00
Alexander A. Klimov
0f536c660c Provide default template
resolves #70
2017-11-15 11:58:54 +01:00
Johannes Meyer
be74138f52 Show a maximum of two graphs in the detail view, by default
It's still possible for the user to expand all graphs.

refs #60
2017-11-15 08:34:49 +01:00
Alexander A. Klimov
5b6ae2421e Replace broken legend partial view script with the legend provided by Graphite Web
refs #60
2017-11-14 12:37:29 +01:00
Alexander A. Klimov
9d1f03d6fd Monitored object detail view extension: serve a 1x1 #00000000 image first
refs #68
2017-10-19 18:00:19 +02:00
Alexander A. Klimov
eacec58b22 Resolve templates' macros on demand
refs #5
2017-10-06 17:27:50 +02:00
Alexander A. Klimov
aba61645f8 Decide which templates to use based on the real check command
refs #5
2017-10-06 17:03:45 +02:00
Alexander A. Klimov
a830cae3d7 Merge branch 'master' into feature/get-check-command-55 2017-10-05 16:34:12 +02:00
Alexander A. Klimov
379ee445f5 Graphs widget: allow additional CSS classes
refs #59
2017-10-04 10:48:22 +02:00