1
0
Fork 0
mirror of synced 2024-11-22 00:45:34 -05:00
Commit graph

132 commits

Author SHA1 Message Date
Dmitry Kalashnik
1dc8d94353 Fix expr for per backend sessions
haproxy_scur{sv="BACKEND"} gives you a sum for FORNTEND
Replace with sum per sv with server type

Regex matches 1st group for:

  ntw01-1
  ntw01
  etc..

sv_new contains clean hostname

Change-Id: I3143e7f495237bbe688130dd8b73ed0495286b58
Bug-Related: PROD-23548
2018-10-02 17:19:43 +04:00
Dmitry Kalashnik
23248a862c Fix dashboards metadata
Closes-Bug: PROD-23514

Change-Id: I17395c2a9a46d6526b707e2466482018170429fc
2018-09-28 17:12:50 +04:00
mcp-jenkins
9cbe044a30 Merge "Add Gnocchi datasource for Grafana" 2018-09-11 12:36:47 +00:00
Michal Kobus
2f77faae7f Add Gnocchi datasource for Grafana
Change-Id: I7a48be1b447b84f672e4462fde29cbe044613acd
Closes-bug: PROD-21747
2018-09-10 14:32:09 +02:00
Ildar Svetlov
e48cfec7c1 Add Tenants visualization dashboard
Change-Id: Ibde5b7cafcd79c0da7e72de96dfeb88a3a16236a
Related-PROD: PROD-22819
2018-09-07 13:20:36 +04:00
Dmitry Kalashnik
f26ff0fce5 Add all grafana dashboards into grafana formula
Change-Id: Iced67bc96c579883607bd446342132c0873148d7
PROD-Related: PROD-22139
2018-09-04 17:37:51 +04:00
Ondrej Smola
1973172e8a Merge "Add unit tests" 2018-07-19 13:43:32 +00:00
Oleksii Grudev
c9af93ce61 Grafana prevent yaml from failing
When including /meta/salt.yml from outside of this
formula the yaml can fail if appropriate pillar elements are not
found. Changing syntax to eliminate this. Including the file
above is needed for generating minion orchestration config
for future use with salt orchestration methods

Change-Id: Ia3fb7eee7c6298d294f641232c8c7e8f8b5806af
Related-PROD: PROD-19973
2018-07-19 12:42:12 +03:00
Martin Polreich
bafd257298 Add unit tests
Change-Id: I6530d29e834633665f21e330d23fd50471ce0046
2018-07-17 15:45:00 +02:00
Michal Kobus
a0c95206e5 Dashboard rationalization
Change-Id: Ibc51a3c0839968678e930fbc7b88218988fc0dc2
Closes-bug: PROD-20091
2018-06-21 15:40:35 +02:00
Michal Kobus
758a110fa5 Dashboard rationalization
Change-Id: Id1f7d2719080456bc7ceb168cb32ee6cd4d4a800
Closes-bug: PROD-20082
2018-06-20 14:14:27 +02:00
Ildar Svetlov
2d26b366a1 Rework grafana.client state
- add 'parameters' section loaded from grains to pass parameters
into dashboard template
- pass context into json dashboard template

Change-Id: I5848c315abe6951b5572b4c63db2d847395ae725
Related-PROD: PROD-18535
2018-06-01 15:46:26 +04:00
Petr Michalec
d1d13a4c1f
Merge pull request #32 from Morsicus/dev/fix_readme_sqlite
fix readme engine database sqlite3
2018-05-22 09:45:36 +02:00
Mickaël Fortunato
f0d262c31a fix readme engine database sqlite3 2018-05-07 14:27:13 +02:00
Petr Michalec
64925dfbb4
Update metadata.yml with correct URL
Change-Id: I10085556e7fc54c279ac42c2daa8b1397773cfa3
2018-03-29 08:33:01 +02:00
Ildar Svetlov
52720eb1e5 Change Grafana dashboards since new metrics available
removed IO panel, because there are no io metrics anymore and
this panel is useless;
added general grafana panel with 4 new graphs:
count of organizations,
count of users,
count of playlists,
count of dashboards.

Related-Bug: PROD-18204
Change-Id: I92034621746803ea5e744c1a055d08dd32e71a90
2018-03-06 17:04:59 +04:00
Ildar Svetlov
627cbfddbb Enable Prometheus scraping metrics from Grafana metrics endpoint
Change-Id: Iefa86330cc9f23f7453a79979a8c34adab36a411
Related-Bug: PROD-18204
2018-03-06 15:52:15 +04:00
Filip Pytloun
15bdc66d02 Update Makefile 2018-02-15 15:13:12 +01:00
Petr Michalec
f4dd16dba1
Remove salt-master, reclass from pkg dependencis
Change-Id: Ia0fe0d452dacff08fef12e9df6a893ec368384cd
2018-01-09 09:35:54 +01:00
Martin Polreich
1e62599ad1 Add prometheus main dashboard config
Change-Id: I594ce5914403d2fb7655b69262dfca61bef7cadf
2017-10-18 11:20:10 +00:00
Petr Michalec
75438bf474 Merge pull request #30 from Perceptyx/master
Add default file and custom path dir creation
2017-09-19 10:57:16 +02:00
Alejandro Bednarik
1aab527af3 Merge pull request #5 from Perceptyx/pid_file_dir
Include PID_FILE_DIR config
2017-09-14 11:59:05 -03:00
abednarik
2878e14395 Include PID_FILE_DIR config 2017-09-14 11:58:22 -03:00
Alejandro Bednarik
698c59aa66 Merge pull request #4 from Perceptyx/pid_file_config
Add pid_file config to defaults file
2017-09-14 11:31:24 -03:00
abednarik
cce0a4c3b7 Add pid_file config to defaults file 2017-09-14 11:29:35 -03:00
abednarik
6566e96e22 Ensure custom paths are created and have correct permissions. 2017-08-07 14:30:22 -03:00
abednarik
69e22ffac2 Make grafana paths configurable. 2017-08-04 12:36:22 -03:00
Martin Polreich
f91843bc99 Add Grafana dashboard for Prometheus
Change-Id: I6ca11df4fc10b24c9c28dbc77188d73eaace2071
2017-07-26 11:38:13 +00:00
Simon Pasquier
ab3d122fd0 Add script to format dashboards
Change-Id: I1c34dad29ad5807603b547c504fcf81185ca2e55
2017-06-26 15:18:19 +02:00
Simon Pasquier
f6e5544264 Manage dashboards only for the current datasource
This change adds a new 'datasource' parameter to the dashboard metadata.
This way, the Grafana client state will manage only the dashboards that
match with the deployed datasource (either InfluxDB or Prometheus). For
backward compatibility, the client will always manage the dashboards
that don't set this new parameter.

Change-Id: Iac323d756aff6ca4180f4b648a1d02692ebf292b
2017-05-24 10:33:54 +02:00
Tomáš Kukrál
2127f4e493 fix meta/salt with missing pillar
Change-Id: I714a6ecfe3d4e3014d31bf4009dd3e6fc46bc86e
2017-05-11 20:17:38 +00:00
Filip Pytloun
a5cfac85d3 Merge pull request #27 from smolaon/patch-1
Put collector back to init
2017-05-11 17:11:28 +02:00
Ondrej Smola
d77f5c70e2 Put collector back to init 2017-05-11 17:10:02 +02:00
Filip Pytloun
3a82ac8bf0 Fix grain structure
Change-Id: Icef4e4aaaadffbd9db81c32108e13d58051106f4
2017-05-11 11:31:11 +02:00
Filip Pytloun
67a022be4f Manage minion.d using support metadata
Change-Id: I37f1c26f8125d98bcbe8d5a105dd5abac9224b36
2017-05-03 15:29:12 +02:00
Swann Croiset
4931237ebc Fixes
Change-Id: I2992d1543bd09542239eefd9fd23434f1f374df2
2017-05-03 15:21:43 +02:00
Ales Komarek
a89a9c1065 Merge "Allow to override the datasource name" 2017-05-03 07:59:33 +00:00
Filip Pytloun
44657188cf Manage grains using support metadata
Change-Id: I8ab61330338213b474ec372e911667f7255eafbd
2017-05-02 14:51:01 +02:00
Swann Croiset
9356e26822 Allow to override the datasource name
Change-Id: Ieeeace081771b4840959cceb66b9dea248030482
2017-05-02 14:00:09 +02:00
Ales Komarek
32bf75e7c8 Merge "Add a dashboard to show the uptime of services" 2017-03-24 13:33:43 +00:00
Simon Pasquier
a4eef55e36 Fix typo in metadata/service/client/single.yml
Change-Id: I313ec796bdaf2d6acfc5816016c04f2ea6a34806
2017-03-21 14:27:31 +01:00
Swann Croiset
dd65097f2b Fix the plugin installation
Change-Id: If4c1893ab7068687f597fa406d4a568af143520b
2017-03-21 11:37:56 +01:00
Guillaume Thouvenin
f014d23f2d Add a dashboard to show the uptime of services
Change-Id: If7f4cca229b9ebb6fc1a247cc51092126284f80c
2017-03-20 09:28:20 +00:00
Guillaume Thouvenin
22c462b504 Allow the installation of Grafana plugins
Change-Id: I6eab0435fb169ed12c880af01ba1e76a06268825
2017-03-15 10:14:52 +01:00
Olivier Bourdon
308f9e4f0e Fix dashboard for matching environment name
Change-Id: I05ad28a3b10e5ba665f61f495beec3077a0f83eb
2017-02-28 13:13:35 +01:00
Guillaume Thouvenin
75f38cb940 Add local check for Grafana in Sensu
Change-Id: I4284ab5c06cf441be554f58ca95f3c507d2f5f60
2017-02-21 17:03:35 +01:00
Aleš Komárek
325e5c4ccd Merge pull request #25 from thouveng/build-main-dashboard-yaml
Provides a base panel to construct the main dashboard
2017-02-06 18:06:36 +01:00
Aleš Komárek
8084f408cf Merge pull request #26 from thouveng/sort-panel
Sort panels by name
2017-02-06 18:05:47 +01:00
Filip Pytloun
9e431b057e Unify Makefile, .gitignore and update readme 2017-02-02 13:02:03 +01:00
Guillaume Thouvenin
885c5fc79c Provides a base panel to construct the main dashboard
This patch adds a default panel that will be used when another service
will add a new panel into the main dashboard through grains. This is the
common part between all panels of the main dashboard.

It replaces the static main dashboard that has been removed.
2017-01-26 13:26:29 +01:00