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
  • a

    Ankit Nayan

    03/17/2021, 9:34 AM
    I will try to see how opentelemetry works with php. Though I am no expert in php.
    b
    • 2
    • 4
  • a

    Ankit Nayan

    03/17/2021, 5:46 PM
    If you can figure out how to instrument even in Jaeger/Zipkin format, SigNoz can ingest the data..since it uses otel-collector
    b
    • 2
    • 5
  • d

    dtherhtun

    06/02/2021, 6:41 AM
    Please help me with this error.
    c
    a
    • 3
    • 2
  • a

    Anwesh

    06/04/2021, 11:45 AM
    I am trying to see the positioning of Signoz. I do understand its good for small teams who are looking for open source alternative to more costlier APM solutions. However, would love to see it against Otel + Prometheus + Grafana combination.
    .... asked the above question. What's the best way to answer the same?
    p
    • 2
    • 3
  • a

    Ankit Nayan

    06/06/2021, 7:29 AM
    @User Nice thought. Any particular service you think of? Would be great to have this as an issue. Would like to work on this asap
    d
    • 2
    • 2
  • r

    ronak kadhi

    06/25/2021, 4:57 PM
    Hello everyone Anyone here who can help me with an article or source which can help me understand better about open source licenses and their basic differences
    p
    • 2
    • 3
  • d

    Darryl Pentz

    06/28/2021, 9:12 AM
    only problem I'm having is incorporating it into my Spring Boot test app ... I'm getting the following error in my logs
    [otel.javaagent 2021-06-28 11:10:02:965 +0200] [grpc-default-executor-3] ERROR io.opentelemetry.exporter.otlp.metrics.OtlpGrpcMetricExporter - Failed to export metrics. Server responded with UNIMPLEMENTED. This usually means that your collector is not configured with an otlp receiver in the "pipelines" section of the configuration. Full error message: UNIMPLEMENTED: unknown service opentelemetry.proto.collector.metrics.v1.MetricsService
    a
    • 2
    • 2
  • d

    Darryl Pentz

    06/28/2021, 9:13 AM
    is there another step I'm meant to do via the UI? I don't see anywhere to add a service, and my app doesn't show up in the service map
    a
    • 2
    • 3
  • d

    Darryl Pentz

    06/28/2021, 10:25 AM
    I'll try the druid option - the clickhouse option seemed simpler for local testing, but seems broken atm?
    p
    • 2
    • 1
  • c

    cmkishores

    07/02/2021, 5:00 AM
    opentelemetry-instrument python manage.py runserver --noreload
    You are using Python 3.6. This version does not support timestamps with nanosecond precision and the OpenTelemetry SDK will use millisecond precision instead. Please refer to PEP 564 for more information. Please upgrade to Python 3.7 or newer to use nanosecond precision.
    Instrumenting of django failed
    Traceback (most recent call last):
      File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/opentelemetry/instrumentation/auto_instrumentation/sitecustomize.py", line 81, in _load_instrumentors
        distro.load_instrumentor(entry_point, skip_dep_check=True)
      File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/opentelemetry/instrumentation/distro.py", line 63, in load_instrumentor
        instrumentor().instrument(**kwargs)
      File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/opentelemetry/instrumentation/instrumentor.py", line 106, in instrument
        **kwargs
      File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/opentelemetry/instrumentation/django/__init__.py", line 132, in _instrument
        settings_middleware = getattr(settings, "MIDDLEWARE", [])
      File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/django/conf/__init__.py", line 79, in __getattr__
        self._setup(name)
      File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/django/conf/__init__.py", line 64, in _setup
        % (desc, ENVIRONMENT_VARIABLE))
    django.core.exceptions.ImproperlyConfigured: Requested setting MIDDLEWARE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
    Failed to auto initialize opentelemetry
    Traceback (most recent call last):
      File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/opentelemetry/instrumentation/auto_instrumentation/sitecustomize.py", line 111, in initialize
        _load_instrumentors(distro)
      File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/opentelemetry/instrumentation/auto_instrumentation/sitecustomize.py", line 85, in _load_instrumentors
        raise exc
      File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/opentelemetry/instrumentation/auto_instrumentation/sitecustomize.py", line 81, in _load_instrumentors
        distro.load_instrumentor(entry_point, skip_dep_check=True)
      File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/opentelemetry/instrumentation/distro.py", line 63, in load_instrumentor
        instrumentor().instrument(**kwargs)
      File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/opentelemetry/instrumentation/instrumentor.py", line 106, in instrument
        **kwargs
      File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/opentelemetry/instrumentation/django/__init__.py", line 132, in _instrument
        settings_middleware = getattr(settings, "MIDDLEWARE", [])
      File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/django/conf/__init__.py", line 79, in __getattr__
        self._setup(name)
      File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/django/conf/__init__.py", line 64, in _setup
        % (desc, ENVIRONMENT_VARIABLE))
    django.core.exceptions.ImproperlyConfigured: Requested setting MIDDLEWARE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
    /home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <<http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>>.
      """)
    Performing system checks...
    I hope someone can share an insight. 🙂
    p
    a
    • 3
    • 15
  • d

    dtherhtun

    07/08/2021, 4:47 AM
    please give me container registry repo access for helm operator
    c
    a
    • 3
    • 16
  • a

    Adam Kenneweg

    07/22/2021, 9:22 PM
    I'm trying to connect my django app to signoz. In my docker for running django, server starts with
    command: ['opentelemetry-instrument', 'python', 'manage.py', 'runserver', '0.0.0.0:80', '--noreload']
    This runs successfully. I have an env file with
    OTEL_RESOURCE_ATTRIBUTES=service.name=pythonApp 
    OTEL_METRICS_EXPORTER=none
    OTEL_EXPORTER_OTLP_ENDPOINT="<http://localhost:4317>"
    But when I check the signoz dashboard, my app does not show up
    p
    • 2
    • 4
  • p

    Pranay

    08/30/2021, 5:34 PM
    hey @User have you checked the python instrumentation docs - https://signoz.io/docs/instrumentation/python/
    h
    a
    • 3
    • 2
  • h

    Hemant Pardeshi

    08/31/2021, 7:33 AM
    Can I set single Centralized SigNoz APM for multiple kubernetes cluster ? e.g. Single SigNoz for Dev , Test and Stage Cluster ? Also what is resource requirement for SigNoz in kubernetes ?
    a
    • 2
    • 50
  • a

    Anirudh Bagri

    09/06/2021, 5:28 AM
    Is it possible to use signoz with a DB other that clickhouse? if yes, what are supported and how can I use them instead of click house?
    i
    a
    • 3
    • 12
  • m

    Mark Van Aken

    09/10/2021, 9:08 PM
    https://signoz.io/docs/deployment/helm_chart/
    p
    • 2
    • 11
  • j

    jinyao

    09/15/2021, 3:08 AM
    Hey guys, I’m trying to connect my tomcat to signoz, followed the steps in https://signoz.io/docs/instrumentation/java/, but I didn’t see my app in the dashboard, could anyone please help?
    p
    • 2
    • 26
  • s

    Sridhar Neradabilli

    09/15/2021, 11:56 AM
    <!here> Hello Everyone, I am struggling to instrument golang application to signoz. Here is some basic info about my application. 1. All the go code compiled and prepared as binary. 2. now using
    make
    command with
    MakeFile
    spec, we are preparing this go binary into an RPM file which is installable on any cent os. 3. after installing RPM file
    rpm -i goapp.rpm
    it will create service in systemd and available to use
    systemctl
    to start/stop the service. 4. i used to start my go app using
    systemctl start svfileserver
    svfileserver is the name of the service (go application) Now please help to instrument svfileserver service to signoz.
    p
    a
    • 3
    • 24
  • a

    anmol soin

    09/17/2021, 3:05 PM
    Hello guys I need information about the API so that I can get some custom data from front end
    p
    • 2
    • 20
  • i

    Itzik Lavon

    09/24/2021, 12:04 PM
    Hi, Have small issue In general i rewrote the query service with some table changes to improve performance(only for clickhouse, using fiber as the web framework) All works well, however, i’ve encountered some issue: Trace view might get “broken” if one of the traces is missing, on my case, i had a trace which was set as CHILD_OF, however its parent span was missing, so trace view did not show all the traces, only the total request time, while response had 34 spans available in the specific trace Few ways to handle it: 1. On backend(query service) if some span link is missing, the set its references to empty array, and reorder traces accordingly if there is some gap 2. On frontend, add some note trace is missing, but display the rest of traces The optimizations i’ve added to query service: 1. Use MV with aggregated data per service, to display the metrics page faster 2. Retain only problematic traces(traces with status code >=400, or duration greater the X), so data could be retained for longer period I want to add some SLA report with comparison between days/weeks/months, in my case it will generate CSV(and send to mail) as FE is not something Im familiarbwith
    👀 1
    a
    • 2
    • 15
  • d

    Devi varalakshmi

    09/27/2021, 3:13 PM
    Hello, team! I deployed signoz on Digitalocean kubernetes cluster and I want to monitor my nodejs appication, I followed this reference https://signoz.io/opentelemetry/nodejs/, but I am facing below error
    Invalid configuration: access token missing, must be set when reporting to <https://ingest.lightstep.com/traces/otlp/v0.6>. Set LS_ACCESS_TOKEN env var or configure token in code
    LightstepConfigurationError: Invalid configuration: access token missing, must be set when reporting to <https://ingest.lightstep.com/traces/otlp/v0.6>. Set LS_ACCESS_TOKEN env var or configure token in code
        at /node/node_modules/lightstep-opentelemetry-launcher-node/build/src/lightstep-opentelemetry-launcher-node.js:128:15
        at validateToken (/node/node_modules/lightstep-opentelemetry-launcher-node/build/src/lightstep-opentelemetry-launcher-node.js:147:9)
        at validateConfiguration (/node/node_modules/lightstep-opentelemetry-launcher-node/build/src/lightstep-opentelemetry-launcher-node.js:136:5)
        at Object.configureOpenTelemetry (/node/node_modules/lightstep-opentelemetry-launcher-node/build/src/lightstep-opentelemetry-launcher-node.js:44:5)
        at Object.<anonymous> (/node/server_init.js:6:23)
        at Module._compile (internal/modules/cjs/loader.js:1133:30)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
        at Module.load (internal/modules/cjs/loader.js:977:32)
        at Function.Module._load (internal/modules/cjs/loader.js:877:14)
        at Object.<anonymous> (/usr/local/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23)
    p
    i
    • 3
    • 8
  • t

    Tanvir Sadik Shaikh

    09/28/2021, 3:55 PM
    can any one knows how to setup signoz in amazon ec2 server
    p
    a
    • 3
    • 40
  • e

    Edu

    10/04/2021, 3:13 PM
    i wonder if there is a major difference if i want to use the solution with jboss
    c
    p
    • 3
    • 2
  • p

    Pranay

    10/04/2021, 5:33 PM
    Though it seems you should use JAVA_OPTS instead of CATALINA_OPTS for JBOsshttps://stackoverflow.com/a/11222367
    e
    • 2
    • 1
  • j

    John Zimsky

    10/15/2021, 3:29 PM
    Greetings. I am testing various java APMs so my docker setup has a lot of allocated ports and I have run into a number of port conflicts deploying SigNoz. Does anyone have a cheat sheet (or script) that will help me work my way through all the configuration files to get a unique set of ports setup? thanks.
    p
    a
    • 3
    • 32
  • k

    karthik venkat

    10/18/2021, 5:13 AM
    all open telemetry modules are installed
    p
    a
    • 3
    • 22
  • l

    Lakshyajit Laxmikant

    10/18/2021, 8:54 AM
    Hi. This is Lakshyajit. We have been getting a particular error in our kafka + druid setup of signoz today. The error is as follows: 2021-10-18T07:44:56.354Z    [31mERROR[0m    druidQuery/mysql-query.go:427    &{2021-10-18T07:29:43.095Z 2021-10-18T07:34:43.095Z 300 2021-10-18 07:29:43.095 +0000 UTC 2021-10-18 07:34:43.095 +0000 UTC} 400 Bad Request: {"error":"Plan validation failed","errorMessage":"org.apache.calcite.runtime.CalciteContextException: From line 1, column 164 to line 1, column 178: Object 'flattened_spans' not found","errorClass":"org.apache.calcite.tools.ValidationException","host":null} P.S. The signoz server is running on a GKE cluster using Helm. Any help would be appreciated. Thanks.
    p
    a
    • 3
    • 26
  • d

    Davide Fastoso

    10/19/2021, 2:34 PM
    Hi @all i just tryed to install kafka+druid dependencies on my windows by docker compose. When i go to the sub dir where the yaml are placed and i run my docker compose up command i recieve the following error :
    Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/run/desktop/mnt/host/c/Users/Davide/Development/Signoz/signoz/deploy/docker/druid-kafka-setup/nginx-config.conf" to rootfs at "/etc/nginx/conf.d/default.conf" caused: mount through procfd: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
    p
    a
    • 3
    • 6
  • d

    Davide Fastoso

    10/20/2021, 8:30 AM
    Hi guys , what happened to these two packages in the getting started guide ? "go.opentelemetry.io/otel/exporters/otlp"     "go.opentelemetry.io/otel/exporters/otlp/otlpgrpc"
    a
    • 2
    • 2
  • d

    Davide Fastoso

    10/20/2021, 8:50 AM
    @User i did not put any version ahead of it but thank u for sharing, i will try to take advantage of the example to try if everything works fine
    i
    a
    • 3
    • 18
Powered by Linen
Title
d

Davide Fastoso

10/20/2021, 8:50 AM
@User i did not put any version ahead of it but thank u for sharing, i will try to take advantage of the example to try if everything works fine
i

Itzik Lavon

10/20/2021, 8:50 AM
update if you need help
🙌 1
d

Davide Fastoso

10/20/2021, 12:57 PM
need a little bit of help setting up a gorilla mux handler with telemetry
go
func myWonderfullHandler(h http.Handler) http.Handler {
	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
defer func() {
// SETTING UP initTRACE somehow 
}
Is it right
i

Itzik Lavon

10/20/2021, 5:25 PM
https://github.com/open-telemetry/opentelemetry-go-contrib/tree/main/instrumentation/github.com/gorilla/mux/otelmux/example
📣 1
in general, this line should do the trick:
r.Use(otelmux.Middleware("my-server"))
this is the import:
"<http://go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux|go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux>"
💯 1
1️⃣ 1
a

Ankit Nayan

10/20/2021, 5:29 PM
@User This should help https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/instrumentation/github.com/gorilla/mux/otelmux/example/server.go
👍 1
Oh @User has correctly guided you already 👏
d

Davide Fastoso

10/20/2021, 6:01 PM
thank u everybody you are so great! it is the example that has been working on my machine but instead of letting it print on my console i want to let it print on a remote signoz instance on the kubernetes. As i understand i should try to reach it and assign it with the method
WithEndpoint()
but when i pass the references to it http://collector.telemetry.svc.cluster.local:4317/ doesnt work
a

Ankit Nayan

10/20/2021, 6:11 PM
How did you come up with the above url?
above url means svc name is
collector
and namespace is
telemetry
. Is it so? If you used the helm chart and deployed it on namespace
platform
the address would be
<http://otel-collector.platform.svc.cluster.local:4317>
d

Davide Fastoso

10/21/2021, 7:39 AM
somebody else in my comp must have deployed , i dont have history of it. Thank you very much for explanation, so for to reach my endpoint up should i put as a
serviceNameKey.String("collector")
And as
WithEndpoint("<http://collector.telemetry.svc.cluster.local:4317/>")
a

Ankit Nayan

10/21/2021, 7:43 AM
serviceNameKey
is the string that you want your application to be known by in UI...it has nothing to do with anything else
👍 1
the service that I was talking about in the url is a kubernetes resource
like this https://github.com/SigNoz/signoz/blob/main/deploy/kubernetes/otel-collector/service.yaml#L4
I don't think the other person would have changed that..so ideally the url would be
<http://otel-collector>.<namespace>.svc.cluster.local:4317
also try removing the trailing slash
d

Davide Fastoso

10/21/2021, 7:56 AM
yes i will try, thanks another time for help , its my first time dealing with metrics and traces.
a

Ankit Nayan

10/21/2021, 7:57 AM
no worries 🙂
View count: 6