https://signoz.io logo
#support
Title
# support
n

Narasimhamurthi Kota

02/20/2023, 11:48 AM
Hi, To monitor health of the http endpoints ,for signoz deployed in k8s ,is it here https://github.com/SigNoz/charts/blob/main/charts/signoz/values.yaml#L2342 configuration to be update in helm chart as blow doc has for docker install method. https://signoz.io/docs/monitor-http-endpoints/#steps-to-monitor-the-health-of-the-http-endpoints
n

Narasimhamurthi Kota

02/20/2023, 4:01 PM
@Srikanth Chekuri added https check/* at L1760 and metrics at 1970 and oltp collector is failing. I think this is for docker instal method. That’s y it is failing.can you give us k8s deployment method.
s

Srikanth Chekuri

02/20/2023, 4:03 PM
The configuration is independent of the deployment method. Do you have those
...
in the actual config? They are meant to be a placeholder for the rest of the config. You need to add receivers and just then add them to metrics pipelin.
n

Narasimhamurthi Kota

02/20/2023, 4:21 PM
@Srikanth Chekuri yes.I have added them properly. Please ignore … . I have added metrics https://github.com/SigNoz/charts/blob/225b9aaf4b38e8d708ce33df37aa9e563c81bb78/charts/signoz/values.yaml#L1978 .the Otel metric collector is failing
s

Srikanth Chekuri

02/20/2023, 4:21 PM
What is the error message when it fails?
n

Narasimhamurthi Kota

02/20/2023, 4:38 PM
@Srikanth Chekuri it is failing with crashloopbackoff due to otel-collector-metrics-Config.yaml
s

Srikanth Chekuri

02/20/2023, 4:41 PM
What is the error? ``kubectl describe pod ...`` run this command and share the output for the pod
Hope you didn’t copy the receivers line as is from the example because there is no otlp receiver here, the required change would be just adding the two httpcheck receivers.
n

Narasimhamurthi Kota

02/20/2023, 4:48 PM
I have oltp at the receiver line.
IMG_3876.jpg
s

Srikanth Chekuri

02/20/2023, 4:51 PM
Please share the full-text output. I can’t see the image clearly.
n

Narasimhamurthi Kota

02/20/2023, 4:53 PM
I just removed the otlp and it is up and running now
How long it will take to see http endpoints health
s

Srikanth Chekuri

02/20/2023, 4:54 PM
As soon as your collection interval elapses. If it is healthy 1 otherwise 0 for the metric value.
n

Narasimhamurthi Kota

02/20/2023, 4:57 PM
And the endpoint is publicly accessible.but I didn’t see any logs in the screen
s

Srikanth Chekuri

02/20/2023, 4:57 PM
but I didn’t see any logs in the screen
Which screen and what logs are you referring to?
n

Narasimhamurthi Kota

02/20/2023, 4:58 PM
Monitor the 2 endpoint i have added i cont see here
IMG_3878.jpg
s

Srikanth Chekuri

02/20/2023, 5:00 PM
That is traces page. You will not see the metrics here. Create a dashboard and search for the metric
httpcheck_status
you will see them.
n

Narasimhamurthi Kota

02/20/2023, 5:08 PM
Httpcheck_status is not listing.
s

Srikanth Chekuri

02/20/2023, 5:10 PM
What do the collector-metrics pod logs show?
n

Narasimhamurthi Kota

02/20/2023, 5:11 PM
I can see the pod logs.
s

Srikanth Chekuri

02/20/2023, 5:12 PM
Excellent, do you see any error logs?
n

Narasimhamurthi Kota

02/20/2023, 5:14 PM
I can see all other info ,except our endpoint info in the logs.
s

Srikanth Chekuri

02/20/2023, 5:16 PM
Search for
signoz_
in the metric name and if something shows up matching the text then please share your full config collector-metrics pod
n

Narasimhamurthi Kota

02/20/2023, 5:19 PM
No metric starting with signoz.
s

Srikanth Chekuri

02/20/2023, 5:20 PM
You most probably have an issue with the config. Please share the full config for the collector-metric pod.
n

Narasimhamurthi Kota

02/20/2023, 5:25 PM
Just sent you the Config file in one to one
s

Srikanth Chekuri

02/20/2023, 5:26 PM
You have not added the httpcheck receivers to the pipeline.
n

Narasimhamurthi Kota

02/20/2023, 5:27 PM
Instead metrics,do I need to addd metrics/httpcheck
I just added it now the collector metrics pod is crashloopbackoff
s

Srikanth Chekuri

02/20/2023, 5:30 PM
What does the pod describe output show?
n

Narasimhamurthi Kota

02/20/2023, 5:33 PM
Sent in 1:1
I don’t understand what is happening behind.am I missing something.
s

Srikanth Chekuri

02/20/2023, 5:38 PM
Check the receiver names correctly.
There was an issue with the config. It exited with status code 1. You would see the error message in the logs. Please make sure the receivers names are same
n

Narasimhamurthi Kota

02/20/2023, 5:40 PM
Checked the receivers name .
Both same same
Oh 🤯
s

Srikanth Chekuri

02/20/2023, 5:41 PM
/dev-agent
vs
/dev-agents
n

Narasimhamurthi Kota

02/20/2023, 5:48 PM
Perfect catch.it is working now.
IMG_3884.jpg
Thanks @Srikanth Chekuri for your prompt response
2 Views