MCPcopy Index your code
hub / github.com/cortexproject/cortex / createTestRuleGroup

Function createTestRuleGroup

integration/ruler_test.go:1877–1889  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

1875}
1876
1877func createTestRuleGroup(t *testing.T) rulefmt.RuleGroup {
1878 t.Helper()
1879 return rulefmt.RuleGroup{
1880 Name: "test_encoded_+\"+group_name/?",
1881 Interval: 100,
1882 Rules: []rulefmt.Rule{
1883 {
1884 Record: "test_rule",
1885 Expr: "up",
1886 },
1887 },
1888 }
1889}

Callers 4

TestRulerAPIFunction · 0.85
TestRulerAlertmanagerFunction · 0.85
TestRulerAlertmanagerTLSFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected