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

    Adi

    09/23/2022, 3:30 AM
    Hi everyone, I wanna ask about how to implement SigNoz on vue js? Is there any documentation about how to implement SigNoz on vue js?
    a
    • 2
    • 2
  • a

    Ankit Nayan

    09/23/2022, 4:39 AM
    @chihoa nguyen possible to write a blog with us on this? I think this would be awesome for the community. cc: @Ashu
    a
    c
    • 3
    • 3
  • i

    Itai Gendler

    09/23/2022, 6:06 AM
    👋 Hi everyone!
    p
    • 2
    • 1
  • s

    Slackbot

    09/23/2022, 6:34 AM
    This message was deleted.
  • i

    Itai Gendler

    09/23/2022, 6:46 AM
    i have been trying to instrument a node.js application using the guide in the docs. i have a problem that once in a while (impposible to work) the trace exporter is crashing with the following error
    2022/09/23 06:44:57 http: panic serving 172.21.0.1:60810: runtime error: index out of range [18] with length 18
    goroutine 608759 [running]:
    net/http.(*conn).serve.func1(0x40002406e0)
    	/usr/local/go/src/net/http/server.go:1802 +0xe4
    panic({0x3b35880, 0x400475f818})
    	/usr/local/go/src/runtime/panic.go:1052 +0x2b4
    <http://go.opentelemetry.io/otel/sdk/trace.(*recordingSpan).End(0x400525f680|go.opentelemetry.io/otel/sdk/trace.(*recordingSpan).End(0x400525f680>, {0x0, 0x0, 0x0})
    	/go/pkg/mod/go.opentelemetry.io/otel/sdk@v1.7.0/trace/span.go:398 +0x83c
    panic({0x3b35880, 0x400475f818})
    	/usr/local/go/src/runtime/panic.go:1038 +0x224
    <http://github.com/SigNoz/signoz-otel-collector/processor/signozspanmetricsprocessor.(*processorImp).updateLatencyMetrics(...)|github.com/SigNoz/signoz-otel-collector/processor/signozspanmetricsprocessor.(*processorImp).updateLatencyMetrics(...)>
    	/src/processor/signozspanmetricsprocessor/processor.go:644
    <http://github.com/SigNoz/signoz-otel-collector/processor/signozspanmetricsprocessor.(*processorImp).aggregateMetricsForSpan|github.com/SigNoz/signoz-otel-collector/processor/signozspanmetricsprocessor.(*processorImp).aggregateMetricsForSpan>(0x40000188c0, {0x4005bc7590, 0xf}, {0x40036c05b0}, {0x4005293320})
    	/src/processor/signozspanmetricsprocessor/processor.go:607 +0x6ec
    <http://github.com/SigNoz/signoz-otel-collector/processor/signozspanmetricsprocessor.(*processorImp).aggregateMetricsForServiceSpans(0x40000188c0|github.com/SigNoz/signoz-otel-collector/processor/signozspanmetricsprocessor.(*processorImp).aggregateMetricsForServiceSpans(0x40000188c0>, {0x4005293320}, {0x4005bc7590, 0xf})
    	/src/processor/signozspanmetricsprocessor/processor.go:502 +0x9c
    <http://github.com/SigNoz/signoz-otel-collector/processor/signozspanmetricsprocessor.(*processorImp).aggregateMetrics(0x40000188c0|github.com/SigNoz/signoz-otel-collector/processor/signozspanmetricsprocessor.(*processorImp).aggregateMetrics(0x40000188c0>, {0x4005863d88})
    	/src/processor/signozspanmetricsprocessor/processor.go:491 +0xdc
    <http://github.com/SigNoz/signoz-otel-collector/processor/signozspanmetricsprocessor.(*processorImp).ConsumeTraces(0x40000188c0|github.com/SigNoz/signoz-otel-collector/processor/signozspanmetricsprocessor.(*processorImp).ConsumeTraces(0x40000188c0>, {0x47e9bb8, 0x4003f4c2d0}, {0x4005863d88})
    	/src/processor/signozspanmetricsprocessor/processor.go:279 +0x30
    <http://go.opentelemetry.io/collector/receiver/otlpreceiver/internal/trace.(*Receiver).Export(0x40001976f8|go.opentelemetry.io/collector/receiver/otlpreceiver/internal/trace.(*Receiver).Export(0x40001976f8>, {0x47e9bb8, 0x400092b050}, {0x4005863d88})
    	/go/pkg/mod/go.opentelemetry.io/collector@v0.55.0/receiver/otlpreceiver/internal/trace/otlp.go:60 +0xcc
    <http://go.opentelemetry.io/collector/receiver/otlpreceiver.handleTraces({0x47bb730|go.opentelemetry.io/collector/receiver/otlpreceiver.handleTraces({0x47bb730>, 0x4005293260}, 0x4005d89900, 0x40001976f8, {0x484e850, 0x6e41ce0})
    	/go/pkg/mod/go.opentelemetry.io/collector@v0.55.0/receiver/otlpreceiver/otlphttp.go:47 +0xd0
    <http://go.opentelemetry.io/collector/receiver/otlpreceiver.(*otlpReceiver).registerTraceConsumer.func1({0x47bb730|go.opentelemetry.io/collector/receiver/otlpreceiver.(*otlpReceiver).registerTraceConsumer.func1({0x47bb730>, 0x4005293260}, 0x4005d89900)
    	/go/pkg/mod/go.opentelemetry.io/collector@v0.55.0/receiver/otlpreceiver/otlp.go:189 +0x118
    net/http.HandlerFunc.ServeHTTP(0x40007640e0, {0x47bb730, 0x4005293260}, 0x4005d89900)
    	/usr/local/go/src/net/http/server.go:2047 +0x40
    net/http.(*ServeMux).ServeHTTP(0x4000758180, {0x47bb730, 0x4005293260}, 0x4005d89900)
    	/usr/local/go/src/net/http/server.go:2425 +0x18c
    <http://go.opentelemetry.io/collector/config/confighttp.(*decompressor).wrap.func1(|go.opentelemetry.io/collector/config/confighttp.(*decompressor).wrap.func1(>{0x47bb730, 0x4005293260}, 0x4005d89900)
    	/go/pkg/mod/go.opentelemetry.io/collector@v0.55.0/config/confighttp/compression.go:160 +0x174
    net/http.HandlerFunc.ServeHTTP(0x4000d5a140, {0x47bb730, 0x4005293260}, 0x4005d89900)
    	/usr/local/go/src/net/http/server.go:2047 +0x40
    <http://go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp.(*Handler).ServeHTTP(0x400023e460|go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp.(*Handler).ServeHTTP(0x400023e460>, {0x47b9d20, 0x4005bd35e0}, 0x4005d89400)
    	/go/pkg/mod/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp@v0.32.0/handler.go:191 +0xd0c
    <http://go.opentelemetry.io/collector/config/confighttp.(*clientInfoHandler).ServeHTTP(0x400025cdc8|go.opentelemetry.io/collector/config/confighttp.(*clientInfoHandler).ServeHTTP(0x400025cdc8>, {0x47b9d20, 0x4005bd35e0}, 0x4004c9cc00)
    	/go/pkg/mod/go.opentelemetry.io/collector@v0.55.0/config/confighttp/clientinfohandler.go:39 +0x26c
    net/http.serverHandler.ServeHTTP({0x40002fb500}, {0x47b9d20, 0x4005bd35e0}, 0x4004c9cc00)
    	/usr/local/go/src/net/http/server.go:2879 +0x45c
    net/http.(*conn).serve(0x40002406e0, {0x47e9bb8, 0x4000747140})
    	/usr/local/go/src/net/http/server.go:1930 +0xb54
    created by net/http.(*Server).Serve
    	/usr/local/go/src/net/http/server.go:3034 +0x4ac
    s
    • 2
    • 30
  • y

    Yuvaraj Loganathan

    09/23/2022, 7:00 AM
    👋 Hi everyone!
  • a

    Anselm Eickhoff

    09/23/2022, 7:55 AM
    Hi, I tweeted this about my experience with SigNoz and instrumenting Rust: https://twitter.com/ae_play/status/1572993932094472195?s=46&amp;t=Kw2trsmc_KSdBsH-HCHnHQ Ankit (@cruxakii) asked me to join the Slack, not sure which one it is. Happy to give more detailed feedback
    a
    • 2
    • 1
  • a

    Adi

    09/23/2022, 10:03 AM
    Hi everyone, I try to implement SigNoz on nuxt js but I got this error The code that I implement is const resource = new Resource({ 'service.name': serviceName }) const provider = new WebTracerProvider({ resource }) const collector = new CollectorTraceExporter({ url: 'http://localhost:4318/v1/traces' }) provider.addSpanProcessor(new SimpleSpanProcessor(collector)) provider.register({ contextManager: new ZoneContextManager() }) const webTracerWithZone = provider.getTracer(serviceName) declare const window: any let bindingSpan: Span | undefined window.startBindingSpan = ( traceId: string, spanId: string, traceFlags: number ) => { bindingSpan = webTracerWithZone.startSpan('') bindingSpan.spanContext().traceId = traceId bindingSpan.spanContext().spanId = spanId bindingSpan.spanContext().traceFlags = traceFlags } registerInstrumentations({ instrumentations: [ new FetchInstrumentation({ propagateTraceHeaderCorsUrls: ['/.*/g'], clearTimingResources: true, applyCustomAttributesOnSpan: ( span: Span, request: Request | RequestInit, result: Response | FetchError ) => { const attributes = (span as any).attributes if (attributes.component === 'fetch') { span.updateName(
    ${attributes['http.method']} ${attributes['http.url']}
    ) } if (result instanceof Error) { span.setStatus({ code: SpanStatusCode.ERROR, message: result.message }) span.recordException(result.stack || result.name) } } }) ] }) export function traceSpan<F extends (...args: any) => ReturnType<F>>( name: string, func: F ): ReturnType<F> { let singleSpan: Span if (bindingSpan) { const ctx = trace.setSpan(context.active(), bindingSpan) singleSpan = webTracerWithZone.startSpan(name, undefined, ctx) bindingSpan = undefined } else { singleSpan = webTracerWithZone.startSpan(name) } return context.with(trace.setSpan(context.active(), singleSpan), () => { try { const result = func() singleSpan.end() return result } catch (error) { singleSpan.setStatus({ code: SpanStatusCode.ERROR }) singleSpan.end() throw error } }) } Is there any idea about how to solve this?
    v
    p
    • 3
    • 8
  • k

    Kim Ong

    09/23/2022, 3:36 PM
    hi does signoz allow for you to set up SQL queries to pull data in and monitor for changes in that sql output?
    p
    s
    • 3
    • 7
  • k

    Kapil Yadav

    09/25/2022, 6:19 AM
    did anyone face this while installing on eks signoz-playground-dev-query-service-0: 2022-09-25T06:14:35.965Z INFO app/server.go:85 Using ClickHouse as datastore ... signoz-playground-dev-query-service-0: 2022-09-25T06:14:35.967Z ERROR clickhouseReader/reader.go:114 failed to initialize ClickHouse: error connecting to primary db: code: 516, message: admin: Authentication failed: password is incorrect or there is no user with such name
  • a

    Adi

    09/26/2022, 8:15 AM
    Can SigNoz just implemented in front end application without setup server/backend? My project is frontend only which is using vue js without node
    a
    • 2
    • 1
  • w

    Will Liu

    09/27/2022, 4:19 AM
    Hello 👋
    a
    • 2
    • 1
  • s

    sibi vishnu

    09/27/2022, 10:00 AM
    👋 Hi everyone! I am facing an issue in installing SigNoz in ubuntu
  • s

    sibi vishnu

    09/27/2022, 10:03 AM
    <!here> can some one help me with this
    n
    • 2
    • 2
  • s

    Shruti Choudhary

    09/27/2022, 12:43 PM
    Hello everyone, I tried the below link for Node js intrumentation. https://signoz.io/blog/nodejs-opensource-application-monitoring/ For some reason, the traces/metrics are not showing up on the Signoz frontend, what could be the possible issues. How do I debug? I dont see any error
    a
    p
    • 3
    • 9
  • q

    Quang Đoàn

    09/27/2022, 2:23 PM
    Is there any way to implement spring boot like a Docker image with SigNoz?
  • q

    Quang Đoàn

    09/27/2022, 2:23 PM
    many thanks!
  • q

    Quang Đoàn

    09/27/2022, 4:07 PM
    That i mean, i want to build spring boot application into docker images and then i can run docker image to push data to signoz.
  • q

    Quang Đoàn

    09/27/2022, 4:26 PM
    I have created a project spring boot helloworld and then I created dockerfile with content like as below:
  • q

    Quang Đoàn

    09/27/2022, 4:27 PM
    FROM openjdk:11-slim as build
    COPY target/helloworldservice-0.0.1-SNAPSHOT.jar helloworldservice-0.0.1-SNAPSHOT.jar
    COPY opentelemetry-javaagent/opentelemetry-javaagent.jar opentelemetry-javaagent.jar
    ENV OTEL_EXPORTER_OTLP_ENDPOINT="<http://localhost:4317>"
    ENV OTEL_RESOURCE_ATTRIBUTES="service.name=HelloWorld"
    ENTRYPOINT ["java","-javaagent:/opentelemetry-javaagent.jar","-jar","/helloworldservice-0.0.1-SNAPSHOT.jar"]
  • q

    Quang Đoàn

    09/27/2022, 4:29 PM
    however, when I run docker image that does not any data to send into Signoz
  • q

    Quang Đoàn

    09/27/2022, 4:30 PM
    in the container logs I received messages that: "can not connect to http://localhost:4317"
  • q

    Quang Đoàn

    09/27/2022, 4:36 PM
    exactly message i received is:
  • q

    Quang Đoàn

    09/27/2022, 4:37 PM
    [otel.javaagent 2022-09-27 16:36:02:129 +0000] [OkHttp http://localhost:4317/...] ERROR io.opentelemetry.exporter.internal.grpc.OkHttpGrpcExporter - Failed to export metrics. The request could not be executed. Full error message: Failed to connect to localhost/127.0.0.1:4317
    s
    • 2
    • 2
  • a

    Anand

    09/28/2022, 4:33 AM
    Hi Everyone
    v
    • 2
    • 1
  • c

    Charbel Boutros

    09/28/2022, 7:03 AM
    👋 Hi everyone!
  • c

    Charbel Boutros

    09/28/2022, 7:04 AM
    I am trying to use the otl exporter in docker but getting clickhouse-setup-clickhouse-1 permission denied
  • c

    Charbel Boutros

    09/28/2022, 7:04 AM
    can anyone help in this ?
    a
    p
    s
    • 4
    • 8
  • c

    Charbel Boutros

    09/28/2022, 7:04 AM
    thanks
  • n

    nikhil sharma

    09/28/2022, 10:47 AM
    Is there anyway to change the graphical visualisation of Signoz panels (Ex- Bubble chart)
    a
    • 2
    • 4
Powered by Linen
Title
n

nikhil sharma

09/28/2022, 10:47 AM
Is there anyway to change the graphical visualisation of Signoz panels (Ex- Bubble chart)
a

Ashu

09/28/2022, 10:49 AM
Hey Nikhil, Welcome to the community 👋 Can you share more on what metrics do you want to visualize via bubble charts?
n

nikhil sharma

09/28/2022, 10:51 AM
Like CPU and memory usage of the services
a

Ashu

09/28/2022, 10:53 AM
Ok. So would these visualizations help you compare better? Currently we don't have these chart visualization options. Would be great if you can create an issue around this explaining your use cases: https://github.com/SigNoz/signoz/issues
n

nikhil sharma

09/28/2022, 10:58 AM
No just for visual appearance.
View count: 1