Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into sanjoyment/k8s-missin…
Browse files Browse the repository at this point in the history
…g-metrics
  • Loading branch information
sanjoyment committed Feb 14, 2024
2 parents 4872aa8 + b5c443d commit 3562d65
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions receiver/k8sclusterreceiver/informer_transform.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import (
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/deployment"
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/jobs"
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/node"
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/persistentvolume"
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/pod"
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/replicaset"
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/service"
Expand All @@ -26,6 +27,8 @@ func transformObject(object interface{}) (interface{}, error) {
return pod.Transform(o), nil
case *corev1.Node:
return node.Transform(o), nil
case *corev1.PersistentVolume:
return persistentvolume.Transform(o), nil
case *appsv1.ReplicaSet:
return replicaset.Transform(o), nil
case *batchv1.Job:
Expand Down

0 comments on commit 3562d65

Please sign in to comment.