grafana / grafana/github-datasource

Can't use github datasource to create alert rules

Aperta
#528 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
Go
Stelle
310
Fork
70
Merge medio
2g 20h
PR unite (30g)
3

Descrizione

Hi there

I'm having issues creating an Alert Rule from the github datasource. It says: input data must be a wide series but got type long (input refid). It works fine for data explore and dashboards, but basically all query types fail to retrieve data in the Alert Rule menu.

The image below shows the data in the Explore menu, this part is working fine:

Image

The next image shows the issue in the Alert Rule creation menu, with the mentioned error message:

Image

The examples are "Workflow Runs", but as mentioned it's the same for any query type in this menu. The issue happens with public and private repos.

Is there any way to get alerts from github datasource?

Thank you in advance.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Riproduci il problema usando la query Workflow Runs della datasource GitHub nel menu di creazione di Alert Rule, quindi confronta il risultato con le viste funzionanti Explore e dashboard. Indaga sul motivo per cui la valutazione degli alert riceve una serie lunga invece della serie larga richiesta; l’attività è completata quando i tipi di query possono creare regole di alert per repository pubblici e privati senza questo errore.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
github, go
Ambito
observability-sre
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.