Kumaran Ilangovan
04/07/2022, 9:55 AMDanish Ahmad Ansari
04/07/2022, 8:01 PMDavid Schatz
04/07/2022, 9:26 PMHardik Agrawal
04/08/2022, 6:55 AMJay Bhatt
04/08/2022, 10:37 AMHenry Fuheng Wu
04/11/2022, 4:30 AMHenry Fuheng Wu
04/11/2022, 4:30 AMHenry Fuheng Wu
04/11/2022, 4:31 AMHenry Fuheng Wu
04/11/2022, 4:31 AMKumaran Ilangovan
04/11/2022, 4:51 AMedr
04/14/2022, 12:44 PM- job_name: "jvm-metrics"
scrape_interval: 10s
metrics_path: "/actuator/prometheus".
static_configs:
- targets: ["<IP of the machine>:8090"]
my question is related to this part:
- targets: ["HOST:PORT"]
what should be inserted in these parameters? which ip of the machine? thanks in advancerakesh shah
04/15/2022, 10:08 AMrakesh shah
04/15/2022, 10:09 AMrakesh shah
04/15/2022, 10:12 AMAME READY STATUS RESTARTS AGE
chi-signoz-cluster-0-0-0 1/1 Running 0 46h
clickhouse-operator-8cff468-t4p9x 2/2 Running 0 46h
signoz-alertmanager-0 1/1 Running 0 46h
signoz-frontend-7d79d95cc4-62nf9 1/1 Running 0 46h
signoz-otel-collector-8487c9f7b4-mgwsp 0/1 CrashLoopBackOff 8 19m
signoz-otel-collector-metrics-7797bcc95b-9c6jv 1/1 Running 0 46h
signoz-query-service-0 1/1 Running 0 46h
signoz-zookeeper-0 1/1 Running 0 46h
rakesh shah
04/15/2022, 10:12 AMGanga Lakshmanasamy
04/19/2022, 10:59 AMVlad Suciu
04/19/2022, 11:24 AMAlfian Firmansyah
04/20/2022, 3:01 AMmethod calls
in span details
like new relic for java app? (see the image below) How to achieve it? Is otel natively supports this ability? Or it just new relic could do it? Thanks in advance!maduabuchi
04/20/2022, 4:09 PMsrc/public/utils/redis.ts:15:40 - error TS2769: No overload matches this call.
#11 37.34 The last overload gave the following error.
#11 37.34 Argument of type '{ host: string; port: string; }' is not assignable to parameter of type 'ClientOpts'.
#11 37.34 Types of property 'port' are incompatible.
#11 37.34 Type 'string' is not assignable to type 'number'.
#11 37.34
#11 37.34 15 const redisClient = redis.createClient(redisClientConfig);
each time I try to start the applicationKumaran Ilangovan
04/21/2022, 6:48 AMHardik Agrawal
04/21/2022, 8:01 AMDanish Ahmad Ansari
04/21/2022, 8:08 AMJonathan 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,Yatharth Lakhera
04/22/2022, 12:32 PMYatharth Lakhera
04/22/2022, 1:30 PMDeepankar
04/23/2022, 12:52 PMSai Deepesh
04/24/2022, 10:53 AMJosh Berman
04/25/2022, 4:39 AMdjango
app, however, I haven't figured out how to then get the DB layer (mysql
) to connect and show the next span with the DB query. Any insights on how to get that done? I couldn't find anything in the docs / in Github. Even just pointing me to a code example would be appreciated. Thanks, all! 🤖Ankur
04/25/2022, 11:40 AMalan
04/25/2022, 1:51 PMexec user process caused "exec format error"
by using default image ("signoz/sample-django:latest"), googled and found require to rebuild docker image after adding #!/bin/bash
in dockerfile, and then I got below errors can you help why this issue happen , I used offical dockerfile to build image
/bin/sh: 1: [opentelemetry-instrument,: not found
alan
04/25/2022, 1:51 PMexec user process caused "exec format error"
by using default image ("signoz/sample-django:latest"), googled and found require to rebuild docker image after adding #!/bin/bash
in dockerfile, and then I got below errors can you help why this issue happen , I used offical dockerfile to build image
/bin/sh: 1: [opentelemetry-instrument,: not found
Prashant Shahi
04/25/2022, 4:21 PMalan
04/25/2022, 8:44 PMroot@uls-tst01-gen1-7b64d94f9c-2zlr8:/# uname -a
Linux uls-tst01-gen1-7b64d94f9c-2zlr8 5.4.0-1025-gkeop #26~18.04.1-Ubuntu SMP Mon Oct 4 03:14:34 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
root@uls-tst01-gen1-7b64d94f9c-2zlr8:/#
/bin/sh: 1: [opentelemetry-instrument,: not found
when creating pod in kuberenetes. so the docker image should be fine.Prashant Shahi
04/26/2022, 4:20 AMalan
04/26/2022, 9:25 AMPrashant Shahi
04/27/2022, 5:19 AMSrikanth Chekuri
04/28/2022, 1:38 AMPrashant Shahi
04/28/2022, 5:53 AMdocker run --env OTEL_METRICS_EXPORTER=none \
--env OTEL_SERVICE_NAME=djangoApp \
--env OTEL_EXPORTER_OTLP_ENDPOINT=http://<IP of SigNoz>:4317 \
--env DJANGO_SETTINGS_MODULE=mysite.settings \
-p 8000:8000 \
-t signoz/sample-django:latest opentelemetry-instrument gunicorn mysite.wsgi -c gunicorn.config.py --workers 2 --threads 2 --reload --bind 0.0.0.0:8000
Meanwhile, I am working on improving the Dockerfile to fix this and reduce the image size.
Also, I believe @Srikanth Chekuri would be the best person who would have more knowledge on the Django sample app.alan
04/28/2022, 7:01 AM/bin/sh: 1: [opentelemetry-instrument,: not found
that's the point, I wonder have you run this in kubernetes ? I am not able to instrument data to SigNoz.Prashant Shahi
04/28/2022, 7:02 AMPrashant Shahi
04/28/2022, 7:06 AMcommand
. Can you include the equipment environment variables and the command from the following in the manifest?
docker run --env OTEL_METRICS_EXPORTER=none \
--env OTEL_SERVICE_NAME=djangoApp \
--env OTEL_EXPORTER_OTLP_ENDPOINT=http://<IP of SigNoz>:4317 \
--env DJANGO_SETTINGS_MODULE=mysite.settings \
-p 8000:8000 \
-t signoz/sample-django:latest opentelemetry-instrument gunicorn mysite.wsgi -c gunicorn.config.py --workers 2 --threads 2 --reload --bind 0.0.0.0:8000
alan
04/28/2022, 7:06 AMPrashant Shahi
04/28/2022, 7:07 AMalan
04/28/2022, 7:08 AM<http://node.kubernetes.io/unreachable:NoExecute|node.kubernetes.io/unreachable:NoExecute> op=Exists for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 2m44s default-scheduler Successfully assigned alantest/sample-django-deployment-799456b8cc-8vtr2 to uls-tst01-gen1-7b64d94f9c-p949m
Normal Pulled 2m43s kubelet Successfully pulled image "<http://artifactory.wdc.com:6560/bdp-eng-docker/sample-django:amd|artifactory.wdc.com:6560/bdp-eng-docker/sample-django:amd>" in 97.653019ms
Normal Pulled 2m42s kubelet Successfully pulled image "<http://artifactory.wdc.com:6560/bdp-eng-docker/sample-django:amd|artifactory.wdc.com:6560/bdp-eng-docker/sample-django:amd>" in 69.621653ms
Normal Pulled 2m27s kubelet Successfully pulled image "<http://artifactory.wdc.com:6560/bdp-eng-docker/sample-django:amd|artifactory.wdc.com:6560/bdp-eng-docker/sample-django:amd>" in 65.713606ms
Normal Created 119s (x4 over 2m43s) kubelet Created container sample-django
Warning Failed 119s (x4 over 2m43s) kubelet Error: failed to create containerd task: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "opentelemetry-instrument gunicorn mysite.wsgi -c gunicorn.config.py --workers 2 --threads 2 --reload --bind 0.0.0.0:8000": executable file not found in $PATH: unknown
Normal Pulled 119s kubelet Successfully pulled image "<http://artifactory.wdc.com:6560/bdp-eng-docker/sample-django:amd|artifactory.wdc.com:6560/bdp-eng-docker/sample-django:amd>" in 65.166385ms
Warning BackOff 84s (x8 over 2m41s) kubelet Back-off restarting failed container
Normal Pulling 73s (x5 over 2m43s) kubelet Pulling image "<http://artifactory.wdc.com:6560/bdp-eng-docker/sample-django:amd|artifactory.wdc.com:6560/bdp-eng-docker/sample-django:amd>"
Prashant Shahi
04/28/2022, 7:49 AMcommand: ["opentelemetry-instrument", "gunicorn", "mysite.wsgi", "-c", "gunicorn.config.py", "--workers", "2", "--threads", "2", "--reload", "--bind", "0.0.0.0:8000"]
alan
04/28/2022, 7:53 AMgunicorn: error: unrecognized arguments: none djangoApp <http://my-release-signoz-otel-collector:4317> mysite.settings
Prashant Shahi
04/28/2022, 7:56 AMargs
?alan
04/28/2022, 7:56 AMPrashant Shahi
04/28/2022, 7:59 AMalan
04/28/2022, 7:59 AMC02XGC2HJG5H:apmtest ah1000259263$ k get svc -n alantest
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
clickhouse-operator-metrics ClusterIP 172.30.240.102 <none> 8888/TCP 14d
jaeger-test-agent ClusterIP 172.30.241.78 <none> 5775/UDP,6831/UDP,6832/UDP,5778/TCP,14271/TCP 10d
jaeger-test-cassandra ClusterIP None <none> 7000/TCP,7001/TCP,7199/TCP,9042/TCP,9160/TCP 10d
jaeger-test-collector ClusterIP 172.30.241.211 <none> 14250/TCP,14268/TCP,14269/TCP 10d
jaeger-test-query ClusterIP 172.30.241.46 <none> 80/TCP,16687/TCP 10d
my-release-clickhouse ClusterIP 172.30.240.62 <none> 8123/TCP,9000/TCP 14d
my-release-signoz-alertmanager ClusterIP 172.30.241.35 <none> 9093/TCP 14d
my-release-signoz-alertmanager-headless ClusterIP None <none> 9093/TCP 14d
my-release-signoz-frontend ClusterIP 172.30.241.173 <none> 3301/TCP 14d
my-release-signoz-otel-collector ClusterIP 172.30.240.254 <none> 4317/TCP,4318/TCP,55680/TCP,55681/TCP,14250/TCP,14268/TCP,9411/TCP,8888/TCP,8889/TCP 14d
my-release-signoz-otel-collector-metrics ClusterIP 172.30.241.20 <none> 4317/TCP,4318/TCP,55680/TCP,55681/TCP,14250/TCP,14268/TCP,9411/TCP,8888/TCP 14d
my-release-signoz-query-service ClusterIP 172.30.240.200 <none> 8080/TCP 14d
my-release-zookeeper ClusterIP 172.30.240.207 <none> 2181/TCP,2888/TCP,3888/TCP 14d
my-release-zookeeper-headless ClusterIP None <none> 2181/TCP,2888/TCP,3888/TCP
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: "<http://my-release-signoz-otel-collector:4317>"
Prashant Shahi
04/28/2022, 8:11 AMhttp://<IP of SigNoz>:3301
ankitnayan
password: password
alan
04/28/2022, 8:13 AM--bind", "0.0.0.0:8000"]
in yaml, when I create virtual service I got 400
error @Prashant ShahiPrashant Shahi
04/28/2022, 8:44 AM<http://localhost:8000/admin>
<http://localhost:8000/polls/>
alan
04/28/2022, 8:50 AMPrashant Shahi
04/28/2022, 8:52 AMalan
04/28/2022, 8:52 AMPrashant Shahi
04/28/2022, 8:52 AMalan
04/28/2022, 8:53 AMPrashant Shahi
04/28/2022, 8:54 AMkubectl -n platform run troubleshoot --image=signoz/troubleshoot \
--restart='OnFailure' -i --tty --rm --command -- ./troubleshoot checkEndpoint \
--endpoint=my-release-signoz-otel-collector.platform.svc.cluster.local:4317
alan
04/28/2022, 8:57 AMC02XGC2HJG5H:jaeger ah1000259263$ kubectl -n alantest run troubleshoot --image=<http://artifactory.wdc.com:6609/signoz/troubleshoot|artifactory.wdc.com:6609/signoz/troubleshoot> -l e2-criticality=2,e2-environment=DEV,e2-owner=E2.Owner,e2-project=e2-migration,e2-support-contact=E2.Support \
> --restart='OnFailure' -i --tty --rm --command -- ./troubleshoot checkEndpoint \
> --endpoint=my-release-signoz-otel-collector:4317
If you don't see a command prompt, try pressing enter.
Error attaching, falling back to logs: unable to upgrade connection: container troubleshoot not found in pod troubleshoot_alantest
2022-04-28T09:10:37.205Z INFO troubleshoot/main.go:28 STARTING!
2022-04-28T09:10:37.208Z INFO checkEndpoint/checkEndpoint.go:41 checking reachability of SigNoz endpoint
2022-04-28T09:10:37.335Z INFO troubleshoot/main.go:46 Successfully sent sample data to signoz ...
pod "troubleshoot" deleted
troubleshoot/main.go:46 Successfully sent sample data to signoz
Prashant Shahi
04/28/2022, 9:13 AMalan
04/28/2022, 9:15 AM- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: <http://my-release-signoz-otel-collector:4317>
Prashant Shahi
04/28/2022, 9:51 AMalan
04/28/2022, 10:07 AMPrashant Shahi
04/28/2022, 10:10 AMalan
04/28/2022, 10:10 AM