这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@j6s
Copy link

@j6s j6s commented Dec 21, 2020

Resolves #30

I have noticed, that if multiple users (or orgs) share a repository with the same name, then the pull_request_count metrics will cause an error while collecting metrics because the same metric has already been collected. In most cases this is because one user has forked the repo of another user.

I have fixed this by adding the owning users name to the labels of the metric. While this solves the problem, it only makes a bit of sense since the number of pull requests of both repositories will always be the same. causing small amounts of duplicate data to be reported.

@henrymcconville
Copy link
Collaborator

Superseded by #101. Released in 1.0.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Metric was collected before with the same name and label values

2 participants