MonitoringConfig class

MonitoringConfig informs Fleet-based applications/services/UIs how the metrics for the underlying cluster is reported to cloud monitoring services.

It can be set from empty to non-empty, but can't be mutated directly to prevent accidentally breaking the constinousty of metrics.

Constructors

MonitoringConfig({String? cluster, String? clusterHash, String? kubernetesMetricsPrefix, String? location, String? projectId})
MonitoringConfig.fromJson(Map json_)

Properties

cluster String?
Cluster name used to report metrics.
getter/setter pair
clusterHash String?
For GKE and Multicloud clusters, this is the UUID of the cluster resource.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
kubernetesMetricsPrefix String?
Kubernetes system metrics, if available, are written to this prefix.
getter/setter pair
location String?
Location used to report Metrics
getter/setter pair
projectId String?
Project used to report Metrics
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited