Jonathan Berrios
04/22/2022, 9:07 AMā ~ k -n platform get pod
NAME READY STATUS RESTARTS AGE
chi-signoz-cluster-0-0-0 1/1 Running 0 19h
clickhouse-operator-8cff468-jnhwn 2/2 Running 0 19h
my-release-signoz-alertmanager-0 1/1 Running 0 19h
my-release-signoz-frontend-679745cc99-4xrwj 1/1 Running 0 19h
my-release-signoz-otel-collector-54d458dd8b-z24bp 1/1 Running 0 19h
my-release-signoz-otel-collector-metrics-5dc97557f6-fngtt 1/1 Running 0 19h
my-release-signoz-query-service-0 1/1 Running 0 19h
my-release-zookeeper-0 1/1 Running 0 19h
ā ~ k -n testns-0 get pod
NAME READY STATUS RESTARTS AGE
daemonset-collector-8xm57 1/1 Running 0 19h
daemonset-collector-kwbpn 1/1 Running 0 19h
daemonset-collector-p9bcv 1/1 Running 0 19h
and trying to get the receiver/exporter configured in testns-0
to export metrics to Signoz
what could I be missing ?
Created issue here https://github.com/SigNoz/signoz/issues/1011
Thank you,Pranay
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