-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
James Hebden
committed
May 29, 2020
1 parent
10a67b4
commit c151b08
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,6 @@ | |
ping_exporter | ||
ping_exporter.exe | ||
artifacts | ||
|
||
# snap | ||
*.snap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: ping-exporter | ||
base: core18 | ||
version: git | ||
summary: A Prometheus exporter for measuring latency to servers using ICMP ping | ||
description: | | ||
ping_exporter uses the go-ping library to measure network latency to configured | ||
hosts, as an indicator of connection quality. This data is made available (exported) | ||
to prometheus, where it is stored and can be charted and queried over time. | ||
grade: stable | ||
confinement: strict | ||
|
||
apps: | ||
daemon: | ||
plugs: | ||
- network | ||
- network-bind | ||
- network-control # for raw socket support | ||
command: ping_exporter --config.path=$SNAP_COMMON/config.yaml | ||
daemon: simple | ||
|
||
parts: | ||
speedtest-exporter: | ||
plugin: go | ||
source: . |