diff --git a/README.md b/README.md index f84ccc6..38f4bd9 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Download your version from the [releases page](https://github.com/echocat/site24 Example: ```bash -sudo curl -SL https://github.com/echocat/site24x7_exporter/releases/download/v0.1.4/site24x7_exporter-linux-amd64 \ +sudo curl -SL https://github.com/echocat/site24x7_exporter/releases/download/v0.1.5/site24x7_exporter-linux-amd64 \ > /usr/bin/site24x7_exporter sudo chmod +x /usr/bin/site24x7_exporter ``` @@ -98,7 +98,7 @@ docker run -p9112:9112 -v/etc/certs:/etc/certs:ro echocat/site24x7_exporter \ ## Metrics -### ``site24x7.monitor.status`` +### ``site24x7_monitor_status`` **Type**: Counter diff --git a/Status.go b/Status.go index 2197ece..8849b30 100644 --- a/Status.go +++ b/Status.go @@ -23,7 +23,7 @@ func (instance *Status) Describe(ch chan<- *prometheus.Desc) { func (instance *Status) Desc() *prometheus.Desc { return prometheus.NewDesc( - fmt.Sprintf("%s.monitor.status", namespace), + fmt.Sprintf("%s_monitor_status", namespace), "Was is the status of the target monitor?", []string{}, prometheus.Labels{}, diff --git a/build.gradle b/build.gradle index bebad10..8eb7007 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ plugins { final name = 'site24x7_exporter' group 'github.com/echocat/site24x7_exporter' -version '0.1.4' +version '0.1.5' dependencies { build 'github.com/prometheus/client_golang'