Skip to content

Commit

Permalink
Fix wrong sales_order_id
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Bigler <[email protected]>
  • Loading branch information
TheBigLee committed Dec 14, 2023
1 parent 5a781c9 commit 3c7ee5d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkg/prom/prom.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@ package prom
import (
"context"
"fmt"
"time"

"github.com/appuio/appuio-cloud-reporting/pkg/thanos"
"github.com/prometheus/client_golang/api"
apiv1 "github.com/prometheus/client_golang/api/prometheus/v1"
"github.com/prometheus/common/model"
"time"
)

const (
salesOrderPromMetrics = "control_api_organization_info"
salesOrderIDLabel = "sales_order_id"
salesOrderPromMetrics = "appuio_control_organization_info"
salesOrderIDLabel = "sales_order"
)

func NewPrometheusAPIClient(promURL string) (apiv1.API, error) {
Expand Down

0 comments on commit 3c7ee5d

Please sign in to comment.