monasca-agent/conf.d/swift_recon.yaml.example
Matthew Oliver 0d929d01a8 Add swift_recon check plugin to monasca
Swift outputs alot of statsd metrics that you can point directly
at monasca-agents. However there is another swift endpoint,
recon, that is used to gather more metrics.

The Swift recon (or reconnaissance) API is an endpoint each of the
storage node servers make available via a REST API. This API can
either be hit manually or via the swift-recon tool.

This patch adds a check plugin that hits the recon REST API and
and send metrics to monasca.

This is the first of two Swift check plugins I'm working on.
For more details see my blog post[1]

[1] - https://oliver.net.au/?p=358

Change-Id: I503d74936f6f37fb261c1592845968319695475a
2019-10-09 19:06:08 +02:00

18 lines
354 B
Plaintext

init_config:
collect_period: 300
instances:
- name: swift-account
server_type: account
hostname: localhost
port: 6012
timeout: 5
- name: swift-container
server_type: container
hostname: localhost
port: 6011
- name: swift-object
server_type: object
hostname: localhost
port: 6010