Skip to content

Commit 0e1d1cd

Browse files
Add back in paging scraper
1 parent 612cd7c commit 0e1d1cd

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

charts/nr-k8s-otel-collector/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ kubectl logs <otel-pod-name> -n newrelic
3434
```
3535

3636
### Confirm data coming through in New Relic
37-
You should see data reporting into New Relic within a couple of seconds to the `InfrastructureEvent` table, `Metric` table, and `Log` tables.
37+
You should see data reporting into New Relic within a couple of seconds to the `OtlpInfrastructureEvent` table, `Metric` table, and `Log` tables.
3838
```
3939
FROM Metric SELECT * WHERE k8s.cluster.name='<CLUSTER_NAME>'
4040
```
4141
```
42-
FROM InfrastructureEvent SELECT * WHERE k8s.cluster.name='<CLUSTER_NAME>'
42+
FROM OtlpInfrastructureEvent SELECT * WHERE k8s.cluster.name='<CLUSTER_NAME>'
4343
```
4444
```
4545
FROM Log SELECT * WHERE k8s.cluster.name='<CLUSTER_NAME>'

charts/nr-k8s-otel-collector/README.md.gotmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ kubectl logs <otel-pod-name> -n newrelic
3737
```
3838

3939
### Confirm data coming through in New Relic
40-
You should see data reporting into New Relic within a couple of seconds to the `InfrastructureEvent` table, `Metric` table, and `Log` tables.
40+
You should see data reporting into New Relic within a couple of seconds to the `OtlpInfrastructureEvent` table, `Metric` table, and `Log` tables.
4141
```
4242
FROM Metric SELECT * WHERE k8s.cluster.name='<CLUSTER_NAME>'
4343
```
4444
```
45-
FROM InfrastructureEvent SELECT * WHERE k8s.cluster.name='<CLUSTER_NAME>'
45+
FROM OtlpInfrastructureEvent SELECT * WHERE k8s.cluster.name='<CLUSTER_NAME>'
4646
```
4747
```
4848
FROM Log SELECT * WHERE k8s.cluster.name='<CLUSTER_NAME>'

charts/nr-k8s-otel-collector/examples/k8s/rendered/daemonset-configmap.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,9 @@ data:
618618
- context: metric
619619
condition: instrumentation_scope.name == "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper"
620620
pipelines: [metrics/nr]
621+
- context: metric
622+
condition: instrumentation_scope.name == "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/pagingscraper"
623+
pipelines: [metrics/nr]
621624
- context: metric
622625
condition: instrumentation_scope.name == "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver"
623626
pipelines: [metrics/nr_prometheus_cadv_kubelet]

charts/nr-k8s-otel-collector/examples/k8s/rendered/daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec:
2424
app.kubernetes.io/name: nr-k8s-otel-collector
2525
component: daemonset
2626
annotations:
27-
checksum/config: 7d943e1901a3e67a0b2518cfdf55c9365db247e3f7bde3a152449e5edb762213
27+
checksum/config: 73d6852dd24e0f166e9bef734f5ca41546828be84513bf41d50f9defeac354a1
2828
spec:
2929
serviceAccountName: example-nr-k8s-otel-collector
3030
containers:

charts/nr-k8s-otel-collector/templates/daemonset-configmap.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,9 @@ data:
636636
- context: metric
637637
condition: instrumentation_scope.name == "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper"
638638
pipelines: [metrics/nr]
639+
- context: metric
640+
condition: instrumentation_scope.name == "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/pagingscraper"
641+
pipelines: [metrics/nr]
639642
- context: metric
640643
condition: instrumentation_scope.name == "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver"
641644
pipelines: [metrics/nr_prometheus_cadv_kubelet]

0 commit comments

Comments
 (0)