Skip to content

Commit

Permalink
fix: pass correctly formatted query tags from the ruler to the querier (
Browse files Browse the repository at this point in the history
  • Loading branch information
MasslessParticle authored and rhnasc committed Apr 12, 2024
1 parent 7461332 commit 239a8a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ruler/evaluator_remote.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func (r *RemoteEvaluator) query(ctx context.Context, orgID, query string, ts tim
{Key: textproto.CanonicalMIMEHeaderKey("User-Agent"), Values: []string{userAgent}},
{Key: textproto.CanonicalMIMEHeaderKey("Content-Type"), Values: []string{mimeTypeFormPost}},
{Key: textproto.CanonicalMIMEHeaderKey("Content-Length"), Values: []string{strconv.Itoa(len(body))}},
{Key: textproto.CanonicalMIMEHeaderKey(string(httpreq.QueryTagsHTTPHeader)), Values: []string{"ruler"}},
{Key: textproto.CanonicalMIMEHeaderKey(string(httpreq.QueryTagsHTTPHeader)), Values: []string{"source=ruler"}},
{Key: textproto.CanonicalMIMEHeaderKey(user.OrgIDHeaderName), Values: []string{orgID}},
},
}
Expand Down

0 comments on commit 239a8a4

Please sign in to comment.