issues
search
grafana
/
github-datasource
Grafana data source plugin using the Github API to retrieve and visualize Github data.
https://grafana.com/grafana/plugins/grafana-github-datasource/
Apache License 2.0
227
stars
54
forks
source link
health check updates
#288
Closed
yesoreyeram
closed
5 months ago
yesoreyeram
commented
5 months ago
currently health check retrieves list of all repos within grafana org. This requires lots of pagination and slow. Instead this PR filters the number of repos to
github-datasource
. with this no changes in existing behaviour but this will bit faster.
also when invalid/empty credentials entered, we currently show "health check failed". Instead this PR will show little more context. ( underlying library abstracts the error
https://github.com/shurcooL/graphql/blob/ed46e5a4646634fc16cb07c3b8db389542cc8847/graphql.go#L79
. also we don't want to show this error message as retrieved for security reasons )
github-datasource
. with this no changes in existing behaviour but this will bit faster.