Skip to content

Commit 42fa665

Browse files
authored
Merge pull request #14 from alexellis/patch-1
Fixes #13
2 parents 9970748 + e5c295c commit 42fa665

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

github_exporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def collect(self):
1010
metrics = {'forks': 'forks',
1111
'stars': 'stargazers_count',
1212
'open_issues': 'open_issues',
13-
'watchers': 'watchers_count',
13+
'watchers': 'subscribers_count', # watchers_count is actually the same as stargazer_count, need subscribers_count
1414
'has_issues': 'has_issues',}
1515

1616
METRIC_PREFIX = 'github_repo'

0 commit comments

Comments
 (0)