openstack-ansible-ops/cluster_metrics/templates
Nish Patwa 17450f35f3 Adding influx relay to make the existing monitoring stack highly available
Added Influxdb relay to make the existing monitoring stack highly
available. Relay replicates the data to multiple database instances.
Also added configutation in HAProxy that load balances the read queries
to influxdb instances and write queries to influxdb relays

        ┌─────────────────┐
        │writes & queries │
        └─────────────────┘
                 │
                 ▼
         ┌───────────────┐
         │               │
┌────────│ Load Balancer │─────────┐
│        │               │         │
│        └──────┬─┬──────┘         │
│               │ │                │
│               │ │                │
│        ┌──────┘ └────────┐       │
│        │ ┌─────────────┐ │       │┌──────┐
│        │ │/write or UDP│ │       ││/query│
│        ▼ └─────────────┘ ▼       │└──────┘
│  ┌──────────┐      ┌──────────┐  │
│  │ InfluxDB │      │ InfluxDB │  │
│  │ Relay    │      │ Relay    │  │
│  └──┬────┬──┘      └────┬──┬──┘  │
│     │    |              |  │     │
│     |  ┌─┼──────────────┘  |     │
│     │  │ └──────────────┐  │     │
│     ▼  ▼                ▼  ▼     │
│  ┌──────────┐      ┌──────────┐  │
│  │          │      │          │  │
└─▶│ InfluxDB │      │ InfluxDB │◀─┘
   │          │      │          │
   └──────────┘      └──────────┘

This patch is dependent on this patch:
https://review.openstack.org/#/c/392328/

Change-Id: I05bdaa0e2fb251b48df1d26d09ad63942872293a
2016-11-10 15:54:56 +00:00
..
grafana.ini.j2 implement minimal metric collection 2016-09-09 13:08:38 -05:00
influxdb.conf.j2 implement minimal metric collection 2016-09-09 13:08:38 -05:00
influxdbrelay.conf.j2 Adding influx relay to make the existing monitoring stack highly available 2016-11-10 15:54:56 +00:00
influxdbrelay.service.j2 Adding influx relay to make the existing monitoring stack highly available 2016-11-10 15:54:56 +00:00
kapacitor.conf.j2 Remove deprecated ansible_ssh_host variable 2016-10-25 19:43:24 +00:00
relay.toml.j2 Adding influx relay to make the existing monitoring stack highly available 2016-11-10 15:54:56 +00:00
telegraf.conf.j2 Adding influx relay to make the existing monitoring stack highly available 2016-11-10 15:54:56 +00:00