You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Use prometheus instead of kube
* Create unit tests
* Fix kubernetes tests
* Simplify generated code
* SonarCloud fixes
* use integer for the test
* Add details in the log
* Get the data for 59m59s and not 1h
* Update test because 59m:59s collection rather than 1h
* test current_hour_start
* Rename METRICS_UTILITY_USAGE_BASED_BILLING_ENABLED
* Add timeline in logs
* Fix return value
* As per comments
* Add ca_cert_path as a prometheus_client attribute
* Remove commented code
---------
Signed-off-by: itdove <dvernier@redhat.com>
Copy file name to clipboardExpand all lines: metrics_utility/base/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,7 +92,7 @@ An example can be found in [Test package](tests/classes/package.py)
92
92
### Environment variables for total_workers_vcpu collector:
93
93
94
94
-`METRICS_UTILITY_CLUSTER_NAME`: Contains the cluster name which is part of the collection payload.
95
-
-`METRICS_UTILITY_USAGE_BASED_BILLING_ENABLED`: [true/false] In case of true, the payload will contain the actual number of total vcpu accross all workers otherwise the total will be set to 1.
95
+
-`METRICS_UTILITY_USAGE_BASED_METERING_ENABLED`: [true/false] In case of true, the payload will contain the actual number of total vcpu accross all workers otherwise the total will be set to 1.
96
96
97
97
N.B.: The SaaS solution runs on ROSA HCP so all nodes are workers, if this collector is used for another solution then the filtering must be implemented.
0 commit comments