Skip to content

Commit

Permalink
Refine help info
Browse files Browse the repository at this point in the history
  • Loading branch information
DRuggeri committed Apr 5, 2020
1 parent 4173fe4 commit adab9c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ This collector counts unique hits to individual DNS names.

```
bind_query_sites_number - Queries per DNS name
bind_query_sites_total_number - Sum of all queries matched (or all queries if not include/exclude filter is present) - is initialized to 0 on start to support increment() detection
bind_query_sites_total_number - Sum of all queries matched. If no include/exclude filter is present, this will match bind_query_stats_total in the stats collector. It is initialized to 0 to support increment() detection.
bind_query_sites_scrapes_total - Total number of scrapes for BIND sites stats.
bind_query_sites_scrape_errors_total - Total number of scrapes errors for BIND sites stats.
bind_query_last_sites_scrape_error - Whether the last scrape of BIND sites stats resulted in an error (1 for error, 0 for success).
Expand Down
2 changes: 1 addition & 1 deletion collectors/site_collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func NewSitesCollector(namespace string, sender *chan string, includeFile string
Namespace: namespace,
Subsystem: "sites_total",
Name: "number",
Help: "Sum of all queries matched (or all queries if not include/exclude filter is present) - is initialized to 0 on start to support increment() detection",
Help: "Sum of all queries matched. If no include/exclude filter is present, this will match bind_query_stats_total in the stats collector. It is initialized to 0 to support increment() detection.",
},
)
totalMetric.Add(0)
Expand Down

0 comments on commit adab9c9

Please sign in to comment.