Skip to content

Commit

Permalink
Fix nginx_exporter_test (#38)
Browse files Browse the repository at this point in the history
Change metricCount to 8, metrics being collected:

- nginxUp * 1
- currentConnections * 4
- processedConnections * 3

Not visible in test case:
- scrapeFailures * 1
  • Loading branch information
fffonion authored and discordianfish committed Aug 31, 2018
1 parent 5d4bf3a commit fcc4ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx_exporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ server accepts handled requests
145249 145249 151557
Reading: 0 Writing: 24 Waiting: 66
`
metricCount = 7
metricCount = 8
)

func TestNginxStatus(t *testing.T) {
Expand Down

0 comments on commit fcc4ff9

Please sign in to comment.