https://signoz.io logo
Join the conversationJoin Slack
Channels
contributing
contributing-frontend
general
github-activities
incidents
k8s_operator_helm
reactjs-config
signoz-alert-testing
support
testsupport
watercooler
webhook-dev
write-for-signoz
Powered by Linen
support
  • r

    Rahul Tiwari

    06/20/2022, 6:58 AM
    Hello Team, I have to get mongodb related traces in signoz dashboard, here in our env we have created mongodb with sts, how do i create mongodb-exporter ? i was following the steps from URL https://signoz.io/blog/opentelemetry-mongodb/#enabling-mongodb-host-metrics but they have created mongodb-exporter with docker compose file. I need to install monogdb-exporter via some yaml files or can edit the same mongodb sts, i have attached mongosts.yaml which we are using.
    mongosts.yaml
    n
    p
    • 3
    • 2
  • r

    Ritu

    06/20/2022, 12:30 PM
    Hello! I am just starting with SigNoz. My goal is to monitor different AWS services like RDS, APIGateway, Lambda for my serverless application. Can you please point me to the documentation which explains how to use SigNoz for that? Thanks!
    p
    • 2
    • 2
  • d

    Danish Ahmad Ansari

    06/20/2022, 12:41 PM
    in 0.8.2 we are not able to login after creating admin account. admin itself cannot login
    s
    • 2
    • 10
  • x

    xshadowlegendx

    06/20/2022, 3:20 PM
    hello, i am trying signoz and having trouble on instrumenting. I start signoz via docker provided by example from the website and running the troubleshooting tool output
    successfully sent sample data to signoz ...
    , but from my elixir app, I tested few endpoints there were no metrics or traces received. how to troubleshoot this?
  • x

    xshadowlegendx

    06/20/2022, 3:41 PM
    hello, I tried example from your elixir repo and it is working fine, I think it is my own app configuration, I will compare your example project with mine, thanks
    p
    • 2
    • 3
  • b

    Blake Romano

    06/20/2022, 4:36 PM
    I hooked up a python app to Otel but I am not retrieving data and I am seeing this in the Signoz Collector
    2022-06-20T15:38:04.634Z	warn	zapgrpc/zapgrpc.go:191	[core] grpc: Server.Serve failed to create ServerTransport:  connection error: desc = "transport: http2Server.HandleStreams received bogus greeting from client: \"GET / HTTP/1.1\\r\\nHost: si\""	{"grpc_log": true}
    p
    s
    • 3
    • 19
  • a

    Ani

    06/20/2022, 7:37 PM
    Hey everyone... Please I need help setting up I've been offline for a while, so I pulled in the latest code and I'm trying to run just the frontend..The frontend API endpoint I currently have is returning an error...on my screen the only thing coming up is something went wrong
    p
    • 2
    • 15
  • k

    Kshitij

    06/21/2022, 5:37 AM
    Hi guys, I'm facing this issue in query service, while composing up signoz, I had previously manually deleted user from db.
    p
    p
    +2
    • 5
    • 22
  • m

    moronmon

    06/21/2022, 9:24 AM
    Hi guys, I just installed Signoz 0.8.2 on Docker Standalone with clickhouse following the instructions on https://signoz.io/docs/install/docker/ , with the server specs: Ubuntu Server 18.04, 4c8GB Memory, Docker Community version: 20.10.12 and Docker Compose version: 1.29.2. The goal is that Signoz will monitor our Java application with OpenTelemetry for Java. The installation is working fine, the Signoz is successful to deploy and running well. And the metrics from our application also appear on Signoz. But I saw the docker name clickhouse-setup_otel-collector_1 is keep restarting, is it the behavior of the application? I did try to manipulate the resource (CPU/Memory) for the clickhouse-setup_otel-collector_1, but the container is keep restarting with the latest log before the container restart:
    2022-06-21T09:07:19.913Z	info	exporterhelper/queued_retry.go:215	Exporting failed. Will retry the request after interval.	{"kind": "exporter", "name": "clickhousemetricswrite", "error": "context deadline exceeded", "errorVerbose": "context deadline exceeded\<http://ngithub.com/open-telemetry/opentelemetry-collector-contrib/exporter/clickhousemetricsexporter.inTransaction\n\t/src/exporter/clickhousemetricsexporter/clickhouse.go:225\ngithub.com/open-telemetry/opentelemetry-collector-contrib/exporter/clickhousemetricsexporter.(*clickHouse).Write\n\t/src/exporter/clickhousemetricsexporter/clickhouse.go:305\ngithub.com/open-telemetry/opentelemetry-collector-contrib/exporter/clickhousemetricsexporter.(*PrwExporter).export.func1\n\t/src/exporter/clickhousemetricsexporter/exporter.go:279\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1581|ngithub.com/open-telemetry/opentelemetry-collector-contrib/exporter/clickhousemetricsexporter.inTransaction\n\t/src/exporter/clickhousemetricsexporter/clickhouse.go:225\ngithub.com/open-telemetry/opentelemetry-collector-contrib/exporter/clickhousemetricsexporter.(*clickHouse).Write\n\t/src/exporter/clickhousemetricsexporter/clickhouse.go:305\ngithub.com/open-telemetry/opentelemetry-collector-contrib/exporter/clickhousemetricsexporter.(*PrwExporter).export.func1\n\t/src/exporter/clickhousemetricsexporter/exporter.go:279\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1581>", "interval": "53.874924ms"}
    Did I miss something?
    s
    • 2
    • 4
  • j

    Jason Harrison

    06/21/2022, 5:37 PM
    regarding the S3 backing store for SigNoz, what's the plan?
  • j

    Jason Harrison

    06/21/2022, 5:37 PM
    right now it seems like if the docker containers stop I lose everything.
    s
    • 2
    • 4
  • p

    Priyansh

    06/21/2022, 8:05 PM
    ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/grpc/_cython/cygrpc.cpython-310-darwin.so, 0x0002): tried: '/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/grpc/_cython/cygrpc.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/lib/cygrpc.cpython-310-darwin.so' (no such file)
    Getting this error for fastAPI instrumentation, did a ton of research to debug this, still as Apple M1 is not fully development ready, can’t get anything to work. Let me know if anyone knows how to correct this. System - macOS 12.2.1 M1 Following this blog on SigNoz website - https://signoz.io/blog/opentelemetry-fastapi/
    • 1
    • 1
  • r

    Rishabh Tripathi

    06/22/2022, 11:35 AM
    hi can someone help me in configuring nodejs opentelementory for kubernetes service
    p
    • 2
    • 2
  • j

    Jason Harrison

    06/23/2022, 10:36 PM
    do you have an example where SigNoz uses an SQL exporter (like https://github.com/chop-dbhi/prometheus-sql) to monitor a database?
    b
    s
    a
    • 4
    • 5
  • s

    Slackbot

    06/24/2022, 10:42 AM
    This message was deleted.
    p
    s
    • 3
    • 7
  • t

    T K

    06/24/2022, 10:49 AM
    <!here> Hi 🙂 I have probably rare question but would like to run https://github.com/SigNoz/signoz/ without docker or any instrumentation. I have pure machine and want to prepare ansible scripts with full instalation. Question is if there is any possibility to do it like that? Maybe some old scripts to setup everything or at least list of commands which you already used to create docker images and which I could reuse to install everything from binaries?
    p
    j
    • 3
    • 7
  • s

    sceinfo

    06/24/2022, 12:16 PM
    Hi, I have sample-php-app by copying file by file. Can you help please to collect trace data using 2-send-trace-to-collector.php and visualize it on SigNoz UI ? I don't know how to define env variable in Ubuntu : putenv('OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318/v1/traces'); // SigNoz OTel collector's path Thanks in advance
  • s

    sceinfo

    06/24/2022, 1:59 PM
    Hi, When i run : docker-compose run service-one composer install i have this issue :
    p
    • 2
    • 1
  • d

    De Scholar

    06/25/2022, 4:33 PM
    👋 Hello, team!
  • d

    De Scholar

    06/25/2022, 4:38 PM
    I need a help, I have installed signoz and integrated it with one of my nestjs microservice, as it is described in this article, https://signoz.io/blog/opentelemetry-nestjs/ unfortunately I still don't that service on signoz dashboard, my
    tracer.ts
    file is this one:
    'use strict';
    
    const opentelemetry = require('@opentelemetry/sdk-node');
    const {
      getNodeAutoInstrumentations,
    } = require('@opentelemetry/auto-instrumentations-node');
    const { OTLPTraceExporter } = require('@opentelemetry/exporter-otlp-grpc');
    
    const { Resource } = require('@opentelemetry/resources');
    const {
      SemanticResourceAttributes,
    } = require('@opentelemetry/semantic-conventions');
    
    // configure the SDK to export telemetry data to the console
    // enable all auto-instrumentations from the meta package
    const exporterOptions = {
      url: 'my IP address here with the port',
    };
    const traceExporter = new OTLPTraceExporter(exporterOptions);
    const sdk = new opentelemetry.NodeSDK({
      resource: new Resource({
        [SemanticResourceAttributes.SERVICE_NAME]: 'myServiceNameHere',
      }),
      traceExporter,
      instrumentations: [getNodeAutoInstrumentations()],
    });
    
    // initialize the SDK and register with the OpenTelemetry API
    // this enables the API to record telemetry
    sdk
      .start()
      .then(() => console.log('Tracing initialized'))
      .catch((error) => console.log('Error initializing tracing', error));
    
    // gracefully shut down the SDK on process exit
    process.on('SIGTERM', () => {
      sdk
        .shutdown()
        .then(() => console.log('Tracing terminated'))
        .catch((error) => console.log('Error terminating tracing', error))
        .finally(() => process.exit(0));
    });
    
    module.exports = sdk;
    On the log, I can see
    Tracing initialized
    which means that it's starting successfully, but I still don't see it on signoz dashboard, Is there anything that I might be missing?
    b
    p
    • 3
    • 6
  • l

    Lucas Teles

    06/25/2022, 7:26 PM
    Hello, I am having a strange behavior and need help understanding what I am missing... I am using auto instrumented within a python web application, when I run it on my machine it sends all traces and metrics correctly to the SigNoz server (I tried with local and remote servers), but when I put the app into a docker container I can see ONLY traces on SigNoz, the metrics and project name on
    Home / Application
    aren't shown. I thought could be a timezone issue (because I am -3h) So I set the
    TZ
    container environment variable, but it was unsuccessful too... when I trace the logs with
    --trace_exporter console
    I see that every span is sent in UTC (even in my local machine)... I don't discard a timezone issue tho... Does someone knows what could be? or a good way to investigate...
    p
    s
    a
    • 4
    • 3
  • b

    Bs Barkathulla

    06/27/2022, 5:46 AM
    👋 Hello, team!
    👋 2
  • b

    Bs Barkathulla

    06/27/2022, 5:51 AM
    Hello team, I have depolyed the java webapplication in tomcat server, but i am not able to see, my application in Signoz dashboard, it's not showing the application, so can you please help me for the next step.
  • b

    Bs Barkathulla

    06/27/2022, 6:00 AM
    Can you please help me out
  • h

    Himanshu Tewari

    06/28/2022, 12:18 PM
    Is there a doc or reference through which we can implement and trace request travelling across graphql and nodesjs api for same request. Thanks
    a
    p
    a
    • 4
    • 4
  • d

    De Scholar

    06/28/2022, 12:52 PM
    Hello team, I have integrated my nest backend services with signoz, and open telemetry, and also those services are using mongodb, redis, and rabbitMQ, is there a way to integrate redis, mongodb and rabbitMQ with signoz so that I will be able to monitor requests to them? [I just need a way to do that, I don't know where to start, have been browsing for signoz articles but I couldn't find anyone that help me achieve that]
    p
    a
    • 3
    • 3
  • s

    Slackbot

    06/28/2022, 3:50 PM
    This message was deleted.
    p
    a
    • 3
    • 2
  • v

    Vara Srinivas

    06/30/2022, 1:24 PM
    Can anyone please provide information on how to get telemetry data related NestJs Graphql using OpenTelemetry. Used the blog post https://signoz.io/blog/opentelemetry-nestjs/ to setup telemetry but I am not getting traces related GraphQl queries
  • v

    Vara Srinivas

    06/30/2022, 1:32 PM
    Thanks. I did follow the blog and did the setup. I am getting traces for http calls but not getting for graphql even though I added graphql instrumentation. Have you guys tested for NestJs graphql?
    d
    p
    v
    • 4
    • 7
  • m

    manohar mirle

    06/30/2022, 2:33 PM
    Hi, Trying to export the data from signoz collecor over HTTPS to nginX proxy and then to another signoz collecor running on kubernetes but it is not able to connect to the proxy. It throws below error: ---------------- Conn.createTransport failed to connect to {x.x.x.x:8081/deeptrace x.x.x.x:8081/deeptrace <nil> <nil> 0 <nil>}. Err: connection error: desc = "transport: Error while dialing dial tcp: address tcp/8081/deeptrace: unknown port" {"grpc_log": true} ----------------- x.x.x.x:8081 is the IP and port of the nginX proxy. Config details in the otel-collector-config.yaml for exporter: ---------------- exporters: otlp: endpoint: "x.x.x.x:8081/deeptrace" tls: insecure: false cert_file: "/etc/cert.pem" key_file: "/etc/key.pem" insecure_skip_verify: true ----------------- Tried with URL end point also, but it is expecting port in the URL: ---------------- otlp: endpoint: "https://abc.com/deeptrace" tls: insecure: false cert_file: "/etc/cert.pem" key_file: "/etc/key.pem" insecure_skip_verify: true ---------------- Error: info zapgrpc/zapgrpc.go:174 [core] pickfirstBalancer: UpdateSubConnState: 0xc000b25cd0, {TRANSIENT_FAILURE connection error: desc = "transport: Error while dialing dial tcp: address abc.com/deeptrace: missing port in address"}{"grpc_log": true} ---------------- Please let me know what should be configuration in otel-collector-config.yaml to connect to a https end point.
    p
    p
    • 3
    • 17
Powered by Linen
Title
m

manohar mirle

06/30/2022, 2:33 PM
Hi, Trying to export the data from signoz collecor over HTTPS to nginX proxy and then to another signoz collecor running on kubernetes but it is not able to connect to the proxy. It throws below error: ---------------- Conn.createTransport failed to connect to {x.x.x.x:8081/deeptrace x.x.x.x:8081/deeptrace <nil> <nil> 0 <nil>}. Err: connection error: desc = "transport: Error while dialing dial tcp: address tcp/8081/deeptrace: unknown port" {"grpc_log": true} ----------------- x.x.x.x:8081 is the IP and port of the nginX proxy. Config details in the otel-collector-config.yaml for exporter: ---------------- exporters: otlp: endpoint: "x.x.x.x:8081/deeptrace" tls: insecure: false cert_file: "/etc/cert.pem" key_file: "/etc/key.pem" insecure_skip_verify: true ----------------- Tried with URL end point also, but it is expecting port in the URL: ---------------- otlp: endpoint: "https://abc.com/deeptrace" tls: insecure: false cert_file: "/etc/cert.pem" key_file: "/etc/key.pem" insecure_skip_verify: true ---------------- Error: info zapgrpc/zapgrpc.go:174 [core] pickfirstBalancer: UpdateSubConnState: 0xc000b25cd0, {TRANSIENT_FAILURE connection error: desc = "transport: Error while dialing dial tcp: address abc.com/deeptrace: missing port in address"}{"grpc_log": true} ---------------- Please let me know what should be configuration in otel-collector-config.yaml to connect to a https end point.
Tried another approach but no luck: otlphttp: endpoint: "x.x.x.x:8081/deeptrace" tls: insecure: false cert_file: "/etc/cert.pem" key_file: "/etc/key.pem" insecure_skip_verify: true traces: receivers: [otlp] processors: [signozspanmetrics/prometheus,batch] exporters: [otlphttp,clickhouse] Error: cannot build exporters: error creating otlphttp exporter: endpoint must be a valid URL otel-collector_1 | 2022/06/30 14:47:33 collector server run finished with error: cannot build exporters: error creating otlphttp exporter: endpoint must be a valid URL
Another try with the below configs: otlphttp: endpoint: "https://x.x.x.x:8081/deeptrace" pipelines: traces: receivers: [otlp] processors: [signozspanmetrics/prometheus,batch] exporters: [otlphttp,clickhouse] "failed to make an HTTP request: Post \"https://x.x.x.x:8081/deeptrace/v1/traces\": dial tcp x.x.x.x:8081: connect: connection refused"
p

Pranay

06/30/2022, 4:45 PM
@Prashant Shahi any insights on this?
p

Prashant Shahi

06/30/2022, 8:31 PM
Hey @manohar mirle ! Couple of questions: • why nginx in between two collectors? • Does https://x.x.x.x:8081/deeptrace/v1/traces resolve to
https://<OtelCollector-Endpoint>:4318/v1/trace
?
m

manohar mirle

07/01/2022, 4:32 AM
Hi @Prashant Shahi, nginx is for converting https to http and delegating the data to different collectors based the type of data. Will check the second point and update you. But, the there is a issue before reaching that stage
@Prashant Shahi Geeting below error in the collector which is exporting the traces:
09Z info exporterhelper/queued_retry.go:215 Exporting failed. Will retry the request after interval. {"kind": "exporter", "name": "otlphttp", "error": "error exporting items, request to https://abc.com:443/deeptrace/v1/traces responded with HTTP Status Code 502", "interval": "23.541514772s"}
In the receiver collector it is throwing below error :
2022-07-01T11:58:04.350+0530 warn zapgrpc/zapgrpc.go:191 [core] grpc: Server.Serve failed to create ServerTransport: connection error: desc = "transport: http2Server.HandleStreams received bogus greeting from client: \"POST /deeptrace/v1/trace\"" {"grpc_log": true}
p

Prashant Shahi

07/01/2022, 7:52 AM
I don't think you will need to include
https
or
443
port, but only set
tls.insecure
to
false
Also, would it be possible for you to use subdomain
<http://deeptrace.abc.com|deeptrace.abc.com>
instead of the custom basepath
<http://abc.com/deeptrace|abc.com/deeptrace>
?
I tested with nginx with SSL certificates pointed to OTLP http endpoint, I was able use subdomain but custom basepath didn't work for me.
m

manohar mirle

07/01/2022, 8:48 AM
Tried it without giving https & 443. THis is what I am getting: Exporting failed. Will retry the request after interval. {"kind": "exporter", "name": "otlphttp", "error": "failed to make an HTTP request: Post \"abc.com/deeptrace/v1/traces\": unsupported protocol scheme \"\"", "interval": "6.278612655s"} Exporting failed. The error is not retryable. Dropping data. {"kind": "exporter", "name": "otlp", "error": "Permanent error: rpc error: code = Unknown desc = transport: received unexpected content-type \"text/html\"", "dropped_items": 6}
Need to check the alternative option of creating subdomain
p

Prashant Shahi

07/01/2022, 8:53 AM
in otelconfig, can you try passing
<http://abc.com/deeptrace|abc.com/deeptrace>
?
without
v1/traces
m

manohar mirle

07/01/2022, 10:21 AM
Infact we are passing like that only abc.com/deeptrace
View count: 9