File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 44 "fmt"
55 "strings"
66 "time"
7+
8+ "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/costmanagement/armcostmanagement"
79)
810
911type (
2325 TimeFrames []string `json:"timeFrames"`
2426 Dimensions []string `json:"dimensions"`
2527 ExportType string `json:"exportType"`
28+ Filter * armcostmanagement.QueryFilter `json:"filter"`
2629 Granularity string `json:"granularity"`
2730 ValueField string `json:"valueField"`
2831 Labels map [string ]string `json:"labels"`
Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ func (m *MetricsCollectorAzureRmCosts) collectCostManagementMetrics(logger *slog
262262 },
263263 },
264264 Configuration : nil ,
265- Filter : nil ,
265+ Filter : query . Filter ,
266266 Granularity : & granularity ,
267267 Grouping : queryGrouping ,
268268 },
You can’t perform that action at this time.
0 commit comments