mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-07 02:07:58 +00:00
Fixing some silly errors.
Always verify your builds before you push, kids. 👎
This commit is contained in:
parent
ce6f83da6b
commit
277734dcdb
2 changed files with 11 additions and 4 deletions
|
|
@ -40,7 +40,7 @@ func (p *externalMetricQueryBuilder) BuildPrometheusQuery(namespace string, metr
|
|||
//I'm guessing that SeriesRegistry might store the metric type, but I haven't looked yet.
|
||||
aggregation := queryMetadata.Aggregation
|
||||
window := queryMetadata.WindowInSeconds
|
||||
return fmt.Sprintf("%s(%s{%s}[%ss])", aggregation, metricName, joinedLabels, window)
|
||||
return fmt.Sprintf("%s(%s{%s}[%ds])", aggregation, metricName, joinedLabels, window)
|
||||
}
|
||||
|
||||
func (p *externalMetricQueryBuilder) makeLabelFilter(labelName string, operator string, targetValue string) string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue