Slackbot
04/22/2022, 9:07 AMPranay
Pranay
Jonathan Berrios
04/25/2022, 7:40 PMkubeletstats
but still doesn't do.Prashant Shahi
04/26/2022, 3:45 AMPrashant Shahi
04/26/2022, 4:17 AMkubeletstats
in the pipeline?
It is either that or the SigNoz endpoint is inaccurate or inaccessible.Jonathan Berrios
04/26/2022, 9:57 AMapiVersion: <http://opentelemetry.io/v1alpha1|opentelemetry.io/v1alpha1>
kind: OpenTelemetryCollector
metadata:
name: daemonset
namespace: opentelemetry-collector
spec:
mode: daemonset
#hostNetwork: true
image: otel/opentelemetry-collector-contrib:0.43.0
securityContext:
privileged: true
env:
- name: K8S_NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
config: |
receivers:
otlp:
protocols:
grpc:
http:
# Data sources: metrics
prometheus:
config:
scrape_configs:
- job_name: "otel-collector"
scrape_interval: 5s
static_configs:
- targets: ["localhost:8888"]
# Data sources: metrics
hostmetrics:
scrapers:
cpu:
disk:
filesystem:
load:
memory:
network:
kubeletstats:
collection_interval: 60s
auth_type: "serviceAccount"
endpoint: "$${K8S_NODE_NAME}:10250"
insecure_skip_verify: true
exporters:
prometheus:
endpoint: "latest-prometheus-server.default.svc.cluster.local:80"
namespace: "default"
otlp:
endpoint: "my-release-signoz-otel-collector.platform.svc.cluster.local:4317"
tls:
insecure: true
service:
pipelines:
metrics:
receivers: [otlp,hostmetrics,kubeletstats,prometheus]
processors: []
exporters: [prometheusremotewrite,otlp]
I should mention, that previous to this, I found out that there wasn't a cluster role neither a cluster role binding for the collector as I installed from the operator CRD. So I worked around that by creating a cluster role binding with wide permissions, for testing only for now until I can get this to work.
Please let me know any thoughts you may have.
Very appreciated,Jonathan Berrios
05/05/2022, 2:31 PMPrashant Shahi
05/05/2022, 2:42 PM