mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Disable filters instance labels in log line
test (#65610)
* Disable filters instance labels in log line test * Add drone reference
This commit is contained in:
parent
2407d2a51d
commit
e758b017d0
@ -183,17 +183,18 @@ func TestRemoteLokiBackend(t *testing.T) {
|
|||||||
},
|
},
|
||||||
exp: `{orgID="123",from="state-history",ruleUID="rule-uid"}`,
|
exp: `{orgID="123",from="state-history",ruleUID="rule-uid"}`,
|
||||||
},
|
},
|
||||||
{
|
// TODO this case is flaky - investigate and re-enable. ref: https://drone.grafana.net/grafana/grafana/108325/3/7
|
||||||
name: "filters instance labels in log line",
|
//{
|
||||||
query: models.HistoryQuery{
|
// name: "filters instance labels in log line",
|
||||||
OrgID: 123,
|
// query: models.HistoryQuery{
|
||||||
Labels: map[string]string{
|
// OrgID: 123,
|
||||||
"customlabel": "customvalue",
|
// Labels: map[string]string{
|
||||||
"labeltwo": "labelvaluetwo",
|
// "customlabel": "customvalue",
|
||||||
},
|
// "labeltwo": "labelvaluetwo",
|
||||||
},
|
// },
|
||||||
exp: `{orgID="123",from="state-history"} | json | labels_customlabel="customvalue" | labels_labeltwo="labelvaluetwo"`,
|
// },
|
||||||
},
|
// exp: `{orgID="123",from="state-history"} | json | labels_customlabel="customvalue" | labels_labeltwo="labelvaluetwo"`,
|
||||||
|
//},
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, tc := range cases {
|
for _, tc := range cases {
|
||||||
|
Loading…
Reference in New Issue
Block a user