forked from canonical/prometheus-openstack-exporter
-
Notifications
You must be signed in to change notification settings - Fork 3
/
snapcraft.yaml
34 lines (33 loc) · 908 Bytes
/
snapcraft.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
34
name: prometheus-swift-exporter
version: 0.0.8
summary: Exposes high level OpenStack Swift metrics to Prometheus.
description: |
Exposes high level OpenStack Swift metrics to Prometheus
confinement: strict
grade: stable
apps:
prometheus-swift-exporter:
command: 'bin/prometheus-swift-exporter.wrapper'
plugs: [network-bind, network]
daemon: simple
parts:
prometheus-swift-exporter:
plugin: python
python-version: python2
source: .
stage-packages:
- libdb5.3
example-config:
plugin: dump
source: .
organize:
prometheus-swift-exporter.yaml: etc/prometheus/prometheus-swift-exporter.yaml.example
prime:
- etc/prometheus/prometheus-swift-exporter.yaml.example
snap-wrappers:
plugin: dump
source: .
organize:
snap_cmd_wrapper: bin/prometheus-swift-exporter.wrapper
prime:
- bin/prometheus-swift-exporter.wrapper