Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TatsukiMinami committed Sep 23, 2024
1 parent 56ea5a4 commit c76cd40
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
manager:
collectorImage:
repository: otel/opentelemetry-collector-k8s
repository: otel/opentelemetry-collector-contrib
extraArgs:
- --enable-go-instrumentation=true
4 changes: 2 additions & 2 deletions chapter_opentelemetry/manifests/log-collector.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/filelogreceiver
# https://github.com/open-telemetry/opentelemetry-collector/tree/main/exporter/debugexporter
# https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/fileexporter
apiVersion: opentelemetry.io/v1alpha1
apiVersion: opentelemetry.io/v1beta1
kind: OpenTelemetryCollector
metadata:
name: log-collector
Expand All @@ -14,7 +14,7 @@ spec:
- name: host-log-volumes
hostPath:
path: /tmp
config: |
config:
receivers:
filelog:
include: [ /var/log/cndt-*.json ]
Expand Down
4 changes: 2 additions & 2 deletions chapter_opentelemetry/manifests/metrics-collector.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
apiVersion: opentelemetry.io/v1alpha1
apiVersion: opentelemetry.io/v1beta1
kind: OpenTelemetryCollector
metadata:
name: metrics-collector
spec:
mode: "daemonset"
config: |
config:
receivers:
hostmetrics:
collection_interval: 30s
Expand Down

0 comments on commit c76cd40

Please sign in to comment.