npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@instana-integration/k8s

v1.0.0

Published

The integration package is used to support Kubernetes monitoring. Once you import this package into your Instana environment, you will be able to monitor Kubernetes Components.

Readme

@instana-integration/k8s

The Instana integration package used to support monitoring of Kubernetes componentes. Once you import this package into your Instana environment, you will be able to monitor Kubernetes entities like ReplicaSet, StatefulSet, DaemonSet etc.

Dashboards

Below are the dashboards that are currently supported by this integration package.

| Dashboard Title | Description | | ----------------------------------- | ---------------------------------------- | | Cron Job Monitoring | Dashboard for Cron Job | | DaemonSet Monitoring | Dashboard for DaemonSet | | Deployment Monitoring | Dashboard for Deployment | | HorizontalPod AutoScaler Monitoring | Dashboard for Horizontal Pod Auto Scaler | | Job Monitoring | Dashboard for Job | | ReplicaSet Monitoring | Dashboard for ReplicaSet | | ReplicationController Monitoring | Dashboard for Replication Controller | | StatefulSet Monitoring | Dashboard for StatefulSet |

Entities

Below are the entities that are currently supported by this integration package.

| Title | | ------------------------ | | Cron Job | | DaemonSet | | Deployment | | HorizontalPod AutoScaler | | Job | | ReplicaSet | | ReplicationController | | StatefulSet |

Metrics

Semantic Conventions

The k8s metrics are obtained by OpenTelemetry auto-instrumentation and scraped by the OpenTelemetry Collector for Kubernetes.

Below are the Kubernetes metrics that are currently supported by this integration package:

| Metric Name | Type | Description | Unit | Dashboard(s) | | --------------------------------------- | ----- | -------------------------------------------------------------------------------------------------------------------------- | ------ | ------------------------------ | | k8s.cronjob.active | Gauge | The number of actively running jobs for a cronjob | number | cron-job.json | | k8s.daemonset.current_scheduled_nodes | Gauge | Number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod | number | daemon-set.json | | k8s.daemonset.desired_scheduled_nodes | Gauge | Number of nodes that should be running the daemon pod (including nodes currently running the daemon pod) | number | daemon-set.json | | k8s.daemonset.misscheduled_nodes | Gauge | Number of nodes that are running the daemon pod, but are not supposed to run the daemon pod | number | daemon-set.json | | k8s.daemonset.ready_nodes | Gauge | Number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready | number | daemon-set.json | | k8s.deployment.available | Gauge | Total number of available replica pods (ready for at least minReadySeconds) targeted by this deployment | number | deployment.json | | k8s.deployment.desired | Gauge | Number of desired replica pods in this deployment | number | deployment.json | | k8s.hpa.current | Gauge | Current number of replica pods managed by this horizontal pod autoscaler | number | horizontal-pod-autoscaler.json | | k8s.hpa.desired | Gauge | Desired number of replica pods managed by this horizontal pod autoscaler | number | horizontal-pod-autoscaler.json | | k8s.hpa.max | Gauge | The upper limit for the number of replica pods to which the autoscaler can scale up | number | horizontal-pod-autoscaler.json | | k8s.hpa.min | Gauge | The lower limit for the number of replica pods to which the autoscaler can scale down | number | horizontal-pod-autoscaler.json | | k8s.job.active | Gauge | The number of pending and actively running pods for a job | number | job.json | | k8s.job.desired_successful | Gauge | The desired number of successfully finished pods the job should be run with | number | job.json | | k8s.job.failed | Gauge | The number of pods which reached phase Failed for a job | number | job.json | | k8s.job.max_parallel | Gauge | The max desired number of pods the job should run at any given time | number | job.json | | k8s.job.successful | Gauge | The number of pods which reached phase Succeeded for a job | number | job.json | | k8s.replicaset.available | Gauge | Total number of available replica pods (ready for at least minReadySeconds) targeted by this replicaset | number | replica-set.json | | k8s.replicaset.desired | Gauge | Number of desired replica pods in this replicaset | number | replica-set.json | | k8s.replicationcontroller.available | Gauge | Total number of available replica pods (ready for at least minReadySeconds) targeted by this replication controller | number | replication-controller.json | | k8s.replicationcontroller.desired | Gauge | Number of desired replica pods in this replication controller | number | replication-controller.json | | k8s.statefulset.current | Gauge | The number of replica pods created by the statefulset controller from the statefulset version indicated by currentRevision | number | stateful-set.json | | k8s.statefulset.desired | Gauge | Number of desired replica pods in this statefulset | number | stateful-set.json | | k8s.statefulset.ready | Gauge | The number of replica pods created for this statefulset with a Ready Condition | number | stateful-set.json | | k8s.statefulset.updated | Gauge | Number of replica pods created by the statefulset controller from the statefulset version indicated by updateRevision | number | stateful-set.json |

Resource Attributes

Below are the resource attributes that are currently supported by this integration package.

| Attribute Key | Type | Description | | ------------------- | ------ | ----------------------------------------------------------------------- | | service.name | string | This attribute is used to describe the entity name. | | service.instance.id | string | This attribute is used to describe the entity ID of the current object. |

          |

Installation and Usage

With Instana CLI for integration package management, you can manage the lifecycle of this package such as downloading the package and importing it into Instana.

Downloading the package:

$ stanctl-integration download --package @instana-integration/k8s

Importing the package into Instana:

$ stanctl-integration import --package @instana-integration/k8s \
  --server $INSTANA_SERVER \
  --token $API_TOKEN \
  --set servicename=$SERVICE_NAME \
  --set serviceinstanceid=$SERVICE_INSTANCE_ID
  • INSTANA_SERVER: This is the base URL of an Instana tenant unit, e.g. https://test-example.instana.io, which is used by the CLI to communicate with Instana server for package lifecycle management.
  • API_TOKEN: Requests against the Instana API require valid API tokens. The API token can be generated via the Instana user interface. For more information, please refers to Instana documentation.
  • SERVICE_NAME: Logical name of the service.
  • SERVICE_INSTANCE_ID: The string ID of the service instance. The ID helps to distinguish instances of the same service that exist at the same time (e.g. instances of a horizontally scaled service).