...
Agent install Setup Scenario | Steps | ||||
---|---|---|---|---|---|
Kloudfuse stack & target both in same VPC and in same K8S cluster (Default) | This is the default scenario. Just use the provided values file for the agent and install. | ||||
Kloudfuse stack & target both in same VPC, but in different K8S cluster | Search for “url”
| ||||
Kloudfuse stack hosted in a different VPC (hosted at “customer.kloudfuse.io”) | Search for “url”
| ||||
...
Code Block |
---|
ingester: config: hostTagIncludes: - kfuse - kube_cluster_name - kubernetes.io/hostname - node.kubernetes.io/instance-type - org_id - project - topology.kubernetes.io/region - topology.kubernetes.io/zone ... - custom_tag_name |
Metadata for metrics collected using the openmetrics check
If using the above configuration, then the openmetrics check is enabled in the agent. See here for more details on what openmetrics check does. Kloudfuse agent (installed using the provided values file) employs a custom check (kf_openmetrics) to collect metadata (the “Description” and “Type” of metrics) for metrics collected using the openmetrics check, which. by default, doesn’t collect any metatada. To enable collection of metadata for these metrics, the sources are required to be annotated which will enable the agent auto-discovery for these pods and execute the custom check.
Kubernetes environment
To enable metrics metadata to be collected from a Kubernetes deployment or sts, follow these steps:
Code Block |
---|
annotations:
ad.datadoghq.com/orders.check_names: '["kf_openmetrics"]'
ad.datadoghq.com/orders.init_configs: '[{}]'
ad.datadoghq.com/orders.instances: '[ { "openmetrics_endpoint": "<http://%%host%%:%%port%%/metrics>"}
]' |
Advance monitoring: Enable kubernetes_state_metrics
...