Skip to content

[awscontainerinsightreceiver] Add Ingress metrics#346

Merged
sky333999 merged 2 commits into
amazon-contributing:aws-cwa-devfrom
aadam19:ingress
Sep 12, 2025
Merged

[awscontainerinsightreceiver] Add Ingress metrics#346
sky333999 merged 2 commits into
amazon-contributing:aws-cwa-devfrom
aadam19:ingress

Conversation

@aadam19

@aadam19 aadam19 commented Aug 11, 2025

Copy link
Copy Markdown

Ingress Metrics

Overview

This PR introduces monitoring support for Kubernetes Ingress resources in the AWS Container Insights receiver.


EMF Logs

{
    "CloudWatchMetrics": [
        {
            "Namespace": "ContainerInsights",
            "Dimensions": [
                [
                    "ClusterName",
                    "Namespace"
                ],
                [
                    "ClusterName"
                ]
            ],
            "Metrics": [
                {
                    "Name": "namespace_number_of_running_pods",
                    "Unit": "Count",
                    "StorageResolution": 60
                }
            ]
        },
        {
            "Namespace": "ContainerInsights",
            "Dimensions": [
                [
                    "ClusterName"
                ],
                [
                    "ClusterName",
                    "Namespace"
                ]
            ],
            "Metrics": [
                {
                    "Name": "ingress_resource_count",
                    "Unit": "Count",
                    "StorageResolution": 60
                }
            ]
        }
    ],
    "ClusterName": "basic-cluster",
    "Namespace": "default",
    "NodeName": "ip-192-168-24-31.ec2.internal",
    "PlatformType": "AWS::EKS",
    "Sources": [
        "apiserver"
    ],
    "Timestamp": "1756373143811",
    "Type": "ClusterNamespace",
    "Version": "0",
    "kubernetes": {
        "namespace_name": "default"
    },
    "ingress_resource_count": 4,
    "namespace_number_of_running_pods": 9
}

Graphs

image image

@aadam19 aadam19 requested a review from mxiamxia as a code owner August 11, 2025 17:22
@aadam19 aadam19 changed the title feat: Add Ingress monitoring to AWS Container Insights receiver [awscontainerinsightreceiver] Add Ingress monitoring Aug 12, 2025
@aadam19 aadam19 changed the title [awscontainerinsightreceiver] Add Ingress monitoring [awscontainerinsightreceiver] Add Ingress metrics Aug 12, 2025
@github-actions

Copy link
Copy Markdown

This PR was marked stale due to lack of activity. It will be closed in 14 days.

movence
movence previously approved these changes Sep 10, 2025
Comment thread receiver/awscontainerinsightreceiver/internal/k8sapiserver/k8sapiserver.go Outdated
Comment thread internal/aws/containerinsight/const.go Outdated
Comment thread internal/aws/k8s/k8sclient/ingress.go Outdated
sky333999
sky333999 previously approved these changes Sep 12, 2025
@sky333999 sky333999 merged commit ddbb65d into amazon-contributing:aws-cwa-dev Sep 12, 2025
136 of 150 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants