summaryrefslogtreecommitdiff
path: root/grafana/mosquitto.yaml
blob: ed4ea804396c2a0a10f9254ba9d60b629031eb32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
dashboard:
  title: Mosquitto Status
  rows:
    - title: Description
      height: 100px
      panels:
        - title: Description
          content: |
            **This dashboard is managed by [Grafyaml](http://docs.openstack.org/infra/system-config/grafyaml.html).**

            If you would like to make changes to this dashboard, please see the grafana directory in [project-config](https://git.openstack.org/cgit/openstack-infra/project-config/tree/grafana/mosquitto.yaml).
          type: text
    - title: Client Information
      height: 150px
      panels:
        - title: Total Clients
          span: 2
          sparkline:
            full: true
            show: true
          targets:
            - target: stats.gauges.mosquitto.total_clients
          type: singlestat
          valueName: current
        - title: Subscription Count
          span: 2
          sparkline:
            full: true
            show: true
          targets:
            - target: stats.gauges.mosquitto.subscription_count
          type: singlestat
          valueName: current
      showTitle: true
    - title: Connection Information
      height: 250px
      panels:
        - title: Message Rates (messages / minute)
          span: 4
          stack: true
          tooltip:
            value_type: individual
          targets:
            - target: alias(stats.gauges.mosquitto.messages_sent, 'Messages Sent')
            - target: alias(stats.gauges.mosquitto.messages_recieved, 'Messages Received')
            - target: alias(stats.gauges.mosquitto.messages_dropped, 'Messages Dropped')
          seriesOverrides:
            - alias: Max
              stack: False
          type: graph
        - title: Heap Size (Bytes)
          span: 4
          targets:
            - target: stats.gauges.mosquitto.heap_size
          type: graph
        - title: Data Transfered (bytes / minute)
          span: 4
          targets:
            - target: stats.gauges.mosquitto.bytes_sent
            - target: stats.gauges.mosquitto.bytes_recieved
          type: graph