Skip to content

Kubernetes Enrichment Options

Host data

After connecting your Kubernetes clusters to Coralogix Infrastructure Explorer, you can enrich host metadata for the EC2 instances running your clusters by installing the AWS Infrastructure Explorer Integration. This integration automatically ingests metadata from supported AWS resources, including EC2 instances.

The example below shows how resource metadata appears before and after enrichment is enabled.

Before enrichment:

Before-enrichment

After enrichment:

After-enrichment

Note: Currently, metadata enrichment is supported only for AWS. Support for other cloud providers may be added in the future.

Host metrics

The hostMetrics preset is enabled by default in the Coralogix Kubernetes OpenTelemetry deployment. To add CloudWatch metrics to your dashboards, install the AWS CloudWatch Metrics Connector.

With the connector installed, you'll start seeing CloudWatch metrics for hosts running your Kubernetes workloads:

  • Metrics are collected every 10 minutes by default (you can increase the interval to reduce usage).
  • Metric definitions are refreshed every 5 minutes.

If you require more frequent metric updates, you can use the Firehose-based integration for near real-time ingestion.

Host process

The Process preset, part of hostMetrics, is disabled by default. To enable it, update your OpenTelemetry agent configuration as shown below:

hostMetrics:
  process:
    enabled: true

You can find more details in the advanced agent configuration guide. Once enabled, host process data will be available in the Process tab of your host dashboard.

Sending application telemetry to the Coralogix agent

In addition to infrastructure data, you can send application logs, metrics, and traces to the Coralogix agent running on each Kubernetes node.

Step 1: Set up the Kubernetes Complete Observability integration

Follow the Kubernetes Complete Observability integration setup guide to deploy the required components.

Step 2: Configure your applications to export telemetry

Add the following environment variables to your application deployments to direct telemetry to the node-local agent:

- name: NODE_IP
  valueFrom:
    fieldRef:
      fieldPath: status.hostIP

- name: OTEL_EXPORTER_OTLP_ENDPOINT
  value: "$(NODE_IP):4317"

- name: OTEL_EXPORTER_OTLP_PROTOCOL
  value: "grpc"

- name: OTEL_EXPORTER_OTLP_INSECURE
  value: "true"

These settings ensure that logs, metrics, and traces from your applications are sent to the OpenTelemetry agent over OTLP (gRPC).

Once applied, your application telemetry will appear in Coralogix Infrastructure Explorer alongside infrastructure data.