1
0
Fork 0
Commit Graph

94 Commits

Author SHA1 Message Date
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
Guillaume Thouvenin ab1a01bf65 Sort panels by name 2017-01-25 16:01:40 +01:00
pasquier-s 4dab23a099 Merge pull request #24 from thouveng/add_grafana_dashboard
Add a Grafana dashboard
2017-01-17 11:45:47 +01:00
Guillaume Thouvenin a03625b147 Add a Grafana dashboard 2017-01-17 09:28:36 +01:00
thouveng cfc61d2139 Merge pull request #22 from thouveng/improve-docs
Make more explicit the configuration of binding parameters
2016-12-13 14:32:39 +01:00
thouveng 852764d54f Merge pull request #23 from thouveng/servers_attributes_configuration
Allow the configuration of servers attributes
2016-12-13 14:20:06 +01:00
Guillaume Thouvenin 8c79aa4e1a Allow the configuration of servers attributes 2016-12-13 13:57:50 +01:00
Guillaume Thouvenin 54a1b74bc2 Make more explicit the configuration of binding parameters 2016-12-13 11:20:42 +01:00
thouveng b388042cd6 Fix issue when new keys are available in datasource (#21)
Fix issue when new keys are available in datasource
2016-12-12 16:53:38 +01:00
thouveng ceb52864dc Merge pull request #19 from thouveng/provide-main-dashboard-oldway
Pass the main dashboard through grains
2016-12-09 10:40:57 +01:00
Guillaume Thouvenin a8902b8c23 Pass the main dashboard through grains
This patch provides the main dashboard through grains. It is not the final
way to provide the main dashboard. It is more a workaround because we
don't know yet how to compose a dashboards with pieces split between
several formulas. We will probably use YAML pieces.
2016-12-09 10:27:54 +01:00
thouveng bc75e39659 Merge pull request #17 from thouveng/add-ldap-support
Add support for LDAP authentication
2016-12-09 09:45:38 +01:00
Guillaume Thouvenin 377c14cca0 Add support for LDAP authentication
This patch adds support for LDAP authentication. It also adds support
to manage authorization. It is now possible to enable several kind of
authentication like LDAP and basic auth. So we introduce a new schema
for allowing it:

  auth:
    basic:
      enabled: true
    ldap:
      enabled: true
      [...]

instead of

  auth:
    engine: basic

The former declaration is still valid for basic, anonymous and proxy
authentication.
2016-12-08 17:15:56 +01:00
thouveng 884f1a179e Merge pull request #18 from thouveng/remove-old-dashboards
Remove old dashboards
2016-12-08 10:48:40 +01:00
Guillaume Thouvenin 92359ec273 Remove old dashboards
This patch removes dashboards that are now provided by each services.
They are not up to date so just remove them.
2016-12-07 12:30:28 +01:00
thouveng 2d0cda0b06 Merge pull request #15 from thouveng/separate-configuration
Move the configuration into a separate state
2016-12-05 10:38:03 +01:00
Guillaume Thouvenin 57167d8bfd Move the configuration into a separate state
This patch separates the configuration of Grafana client. This allows to
configure the client, restart the minion to read the conf and finally
apply the grafana.client state.
2016-12-05 09:47:46 +01:00
pasquier-s 7e07c93f36 Merge pull request #14 from thouveng/use-get-with-enabled
Use get function to check if a "role" is enabled
2016-11-28 15:02:18 +01:00
Guillaume Thouvenin 6306087672 Use get function to check if a role is enabled
This patch uses the function get with False by default. This is to allow
to call a state even if the node is not classified.
2016-11-28 12:04:11 +01:00
Aleš Komárek cb170d8e90 Merge pull request #13 from tcpcloud/stacklight
Stacklight
2016-11-28 10:26:42 +01:00
thouveng cd5c7aff89 Merge pull request #12 from thouveng/add-client
Add client metadata
2016-11-18 13:29:05 +01:00
Guillaume Thouvenin 18fe0c04c7 Add client metadata 2016-11-18 08:57:08 +01:00
thouveng 13574258bc Merge pull request #11 from thouveng/use-json-dashboards
Add support for JSON dashboards
2016-11-15 09:27:28 +01:00
Guillaume Thouvenin 2958bda057 Add support for JSON dashboards
This patch adds the support for JSON dashboards and also provides the
support for remote dashboards.
2016-11-10 14:49:22 +01:00
pasquier-s de5d730e12 Merge pull request #9 from simonpasquier/add-collectd-support
Add collectd support
2016-11-09 10:53:56 +01:00
thouveng c4ddb9ebda Merge pull request #10 from thouveng/fix-grafana-templates
Replace pacemaker_local_resource_active in templating
2016-11-04 12:13:41 +01:00
Simon Pasquier 777902ad8f Add collectd support 2016-11-04 12:06:32 +01:00
Guillaume Thouvenin cf02140010 Replace pacemaker_local_resource_active in dashboards templating 2016-11-04 12:03:55 +01:00
thouveng 72e186cba8 Merge pull request #8 from thouveng/use-json-for-basic-auth
Use JSON format with basic auth
2016-11-03 17:39:00 +01:00
Guillaume Thouvenin e3e6e3f1d9 Use JSON format with basic auth 2016-11-03 15:27:29 +01:00
thouveng f3252e1850 Merge pull request #7 from thouveng/fix-grafana-parameters
Update grafana3_datasource parameters
2016-11-03 11:47:13 +01:00
Guillaume Thouvenin ab1023453d Update grafana3_datasource parameters
This patch removes parameters that are not used and not documented.
It also fix issue when passing parameters to _get_json_data.
2016-11-03 10:47:37 +01:00
pasquier-s ecf143a398 Merge pull request #6 from elemoine/stacklight-dashboards
Fix Grafana dashboards
2016-11-02 17:20:50 +01:00
Éric Lemoine 398d7ac77d Fix Grafana dashboards
This commit fixes the InfluxDB queries used in Grafana dashboards. A regexp
should be used with variables.
2016-11-02 17:09:41 +01:00
thouveng b73ac79c42 Merge pull request #5 from thouveng/fix-grafana-state
Fix grafana state
2016-11-02 16:51:01 +01:00
Guillaume Thouvenin eed48db172 Use the right parameters to configure datasource
This patch uses the user and password instead of setting basic auth that
is used as credentials when connecting to the Grafana server. In our
case we are using the grafana configuration on the minion to connect to
Grafana. This patch also adds an option to set the datasource as the
default one.
2016-11-02 16:33:09 +01:00
Guillaume Thouvenin 5bbb9f23e0 Use POST instead of PUT when adding a new datasource 2016-11-02 15:48:12 +01:00
pasquier-s 667880a0c8 Merge pull request #4 from thouveng/fix-datasource
Fix datasource
2016-11-02 12:15:13 +01:00
Guillaume Thouvenin 22a78bd9b5 Allow basic auth when datasource is adding
This patch fixes an issue to use basic auth when the datasource is
adding for the first time. It also adds a delay when service is started.
2016-11-02 10:06:18 +01:00