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