-
Notifications
You must be signed in to change notification settings - Fork 3
/
swift_exporter_config.yaml
33 lines (33 loc) · 1.91 KB
/
swift_exporter_config.yaml
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
# module_description: this moudule reads the *.recon file from /var/cache/swift directory, and parse
# data such as replication time, object audit time...etc. Generally speaking, this is the module that
# contains data most users will find useful.
ReadReconFile: yes
# module_description: this module grab the primary and handoff partitions count in a Swift node.
# Enter "yes" to enable, and "no" to disable.
GrabSwiftPartition: yes
# module_description: this module checks Swift nodes and grab information about disk.
# Enter "yes" to enable, and "no" to disable.
SwiftDiskUsage: yes
# module_description: this module pull disk IO stats from all Swift drives (those that are mounted in "/srv/node/d<x>")
# and expose them via Prometheus.
SwiftDriveIO: yes
# module_description: this module will read the latest entry in all.log and search for keyword "replicated",
# then extract the data out and parse for the estimated time complete, and part/sec. Enter "yes" to enable,
# and "no" to disable.
GatherReplicationEstimate: yes
# module_description: this module grabs the size of each drive that has a storage policy assigned to it,
# then expose it to Prometheus.
GatherStoragePolicyUtilization: yes
# module_description: this module checks the number of object server spinned. This is useful for replica based storage policy.
# The number of object server = number of drives * object server per port setting.
CheckObjectServerConnection: yes
# module_description: this module expose cpu usage and expose them in prometheus.
ExposePerCPUUsage: yes
# module_description: this module expose cpu usage and expose them in prometheus.
ExposePerNICMetric: yes
SwiftLogFile: "/var/log/swift/all.log"
SwiftConfigFile: "/etc/swift/swift.conf"
ReplicationProgressFile: "/opt/ss/var/lib/replication_progress.json"
ObjectReconFile: "/var/cache/swift/object.recon"
ContainerReconFile: "/var/cache/swift/container.recon"
AccountReconFile: "/var/cache/swift/account.recon"