Skip to content

Commit

Permalink
* Fixed naming issue
Browse files Browse the repository at this point in the history
  • Loading branch information
blaubaer committed Aug 8, 2016
1 parent 5fa8a99 commit 9b0165f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Status.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{},
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 9b0165f

Please sign in to comment.