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

Conversation

@jcreixell
Copy link
Contributor

  • While running this exporter in the grafana agent, we have identified a loop that never returns in case of http error. This in turn causes the agent to never release a lock, preventing it from making progress.
  • Note: I have not added additional metrics to report errors as I am trying to keep the scope of this change minimal, but it would be a good idea to add a gauge as stated in the prometheus guidelines.
  • See Github exporter blocks on http error grafana/agent#3144

  - While running this exporter in the grafana agent, we have identified a loop
  that never returns in case of http error. This in turn causes the agent to never
  release a lock, preventing it from making progress.
  - Note: I have not added additional metrics to report errors as I am trying to keep the
  scope of this change minimal, but it would be a good idea to add a gauge as stated in
  the [prometheus guidelines](https://prometheus.io/docs/instrumenting/writing_exporters/#failed-scrapes).
@henrymcconville henrymcconville merged commit d6d3e44 into githubexporter:master Aug 23, 2023
@henrymcconville
Copy link
Collaborator

Thanks for this @jcreixell and sorry for the delay in getting this merged.

This is now available as version 1.0.4 and on Docker Hub at githubexporter/github-exporter.

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.

2 participants