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

    Nishant Mishra

    11/25/2022, 9:59 AM
    backend?
  • p

    Pranay

    11/25/2022, 10:02 AM
    Yes, backend uses golang
  • p

    Pranay

    11/25/2022, 10:03 AM
    query service is the backend service
  • p

    Prashant Shahi

    11/25/2022, 10:04 AM
    @Nishant Mishra we also have SigNoz OtelCollector and Alertmanager, both written in Golang.
  • n

    Nishant Mishra

    11/25/2022, 10:05 AM
    sure can anybody share the git links to them?
  • r

    Rahul Rammurat Chauhan

    11/25/2022, 11:09 AM
    Hi team, I am getting this below error msg while deploying the signoz in aws ecs. I have verified that there were no server.key or directory in signoz repo, so help me out with this or do let me know if I am missing something
    2022.11.25 11:03:45.240420 [ 1 ] {} <Error> CertificateReloader: Cannot obtain modification time for certificate file /etc/clickhouse-server/server.crt, skipping update. errno: 2, strerror: No such file or directory
    2022.11.25 11:03:45.240433 [ 1 ] {} <Error> CertificateReloader: Cannot obtain modification time for key file /etc/clickhouse-server/server.key, skipping update. errno: 2, strerror: No such file or directory
    2022.11.25 11:03:45.253895 [ 1 ] {} <Error> CertificateReloader: Poco::Exception. Code: 1000, e.code() = 0, SSL context exception: Error loading private key from file /etc/clickhouse-server/server.key: error:02000002:system library:OPENSSL_internal:No such file or directory (version 22.8.8.3 (official build))
  • t

    Tirush Venamadala

    11/28/2022, 4:58 AM
    Hello everyone, i was wondering if this would work "Can we transform data from collectors to signoz if we setup SSL for signoz server (nginx reverse proxy)"
    n
    • 2
    • 13
  • r

    Rahul v

    11/28/2022, 9:09 AM
    Hi all, I am trying to test parsing a logfile with entries like below but nothings comes up in the UI under logs or elsewhere any suggestions on where I might be going wrong
    2022-11-25 22:55:47,673 - DEBUG - ca770 output {"timestamp": 1669377347.7902305, "Type": 2, "event": 7 }
    2022-11-25 22:55:47,689 - INFO - Latency:-0.101148 seconds
    otel collector config:
    filelog/cav:
        include: [  "/testlog/*.log" ]
        start_at: beginning
        include_file_path: true
        include_file_name: false
        operators:
        - type: regex_parser
          regex: '^(?P<log_timestamp>\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}:\d{2}[,.]\d{3})\s+-\s+(?P<log_entry_type>\w+)\s+-\s+(?P<log_msg>.*)$'
    p
    n
    • 3
    • 12
  • i

    Indra R

    11/28/2022, 9:20 AM
    hi all, so i recently using signoz, and i have nodejs app, in this documentation, in section Set up OpenTelemetry and send data to SigNoz at number 5, it says, Run Application using node -r ./tracing.js index.js, but my developer running nodejs apps using npm run start is there any workaround to send data to signoz server ?
    n
    v
    • 3
    • 16
  • i

    Indra R

    11/28/2022, 9:25 AM
    ooh, i have spring boot app too, and i kind a have similar problem. so basicly in this doc, it said to run the instrumentation agent and run application is using command:
    java -javaagent:/path/opentelemetry-javaagent.jar \
        -Dotel.exporter.otlp.endpoint=http://<IP of SigNoz Backend>:4317 \
        -Dotel.resource.attributes=service.name=<app_name> \
        -jar <myapp>.jar
    but my developers using
    mvnw spring-boot:run
    is there any workaround too in springboot app ?
    v
    • 2
    • 1
  • r

    Rahul v

    11/29/2022, 12:57 AM
    Hi team, Are there any docs on how to project spatial data (lat-long) onto a map? we capture logs with lat-long info and was looking for a way to visualize this info. Any suggestions on how to do this?
    p
    • 2
    • 3
  • g

    George Larson

    11/29/2022, 6:10 AM
    hey all. having some difficulty getting off the ground. fresh install of ubuntu 20.04. as proof of concept, i was just trying to send in logs from the host system. followed the tutorial (https://signoz.io/docs/userguide/collecting_syslogs/) UFW is disabled. receiver is open (checked w/
    telnet
    ). can see traffic in
    tcpdump
    there are entries in
    signoz_logs.logs
    i tried changing to
    rfc5424
    but it did not seem to help
    signoz-logs.logs.txt
    p
    n
    • 3
    • 26
  • a

    Ankita Salunkhe

    11/30/2022, 5:04 AM
    Hii, Good Morning
  • a

    Ankita Salunkhe

    11/30/2022, 5:04 AM
    Can anyone please help me with Clickhouse DB operations?
    p
    s
    • 3
    • 41
  • a

    Ankita Salunkhe

    11/30/2022, 6:24 AM
    I wants to delete the resource attribute value which is showing into signoz..
    alter table  signoz_metrics.time_series_v2 delete where metric_name='signoz_calls_total' and JSONExtractString(labels, 'resource_deployment_environment')='PROD-SIG';
    I tried this but it won't work..
    v
    • 2
    • 1
  • a

    Ankita Salunkhe

    11/30/2022, 6:24 AM
    Its showing query Ok, but not deleting the records..
  • a

    Alexei Zenin

    11/30/2022, 8:33 PM
    I added sampling to my agent collectors to reduce amount of traces collected. I placed the signozspanmetrics processor before the sampler yet the SigNoz UI seems to show the number of sampled requests vs the real number of requests as seen in the image. Is this supposed to be the case? I thought since I would be generating metrics for 100% of the traces I would get an accurate “Number of calls”. For reference I compared to Datadog and it is 7.66K and in SigNoz it reports 766 calls, which makes sense since sampling is 10% (off by 10x).
    s
    v
    • 3
    • 13
  • s

    Shreyash

    12/01/2022, 7:03 AM
    Hi, I have setup a signoz kubernates cluster. I want to update my otel-collector-config. Do we have any documentation on that? I want to add some more dimensions in the config file.
    p
    p
    • 3
    • 6
  • k

    Kasim Ali

    12/01/2022, 11:06 AM
    how can i show docker container log? any conflagration is available?
    p
    n
    • 3
    • 9
  • k

    Kapil Khanwani

    12/01/2022, 12:48 PM
    Hi all. I am creating a dashboard to check on my k8s pod metrics. I want to show the pod CPU utilisation grouped by pod name.
    p
    p
    • 3
    • 11
  • k

    Kapil Khanwani

    12/01/2022, 12:49 PM
    Also can someone please give an example for what I can give in legend format area?
  • e

    EzzEddin Abdullah

    12/01/2022, 12:57 PM
    Hello everyone. I'm sending system logs to SigNoz through the
    syslog
    module in Python. I followed the documentation and then sent the logs through a Pyhon script. When I go into
    localhost:3301/logs
    and search for the keyword I used in my log message, I see a couple of results but with a body that is different than my original message. Any idea what goes wrong here?
    a
    n
    • 3
    • 10
  • k

    Kapil Khanwani

    12/01/2022, 2:00 PM
    I need to show dynamic pod cpu utilisation for my kubernetes pods. Is there a way to visualise that? Documentation doesn't seem to be much useful.
    s
    • 2
    • 5
  • b

    Bill Cavalieri

    12/01/2022, 5:34 PM
    I'm trying to get some infrastructure monitoring setup. I've installed prometheus node exporter on a host (vouch), can query the metrics from the signoz vm, but I'm not getting any metrics stored in signoz. Only the localhost signoz data is logging. Where do I start troubleshooting?
    s
    • 2
    • 2
  • l

    Lucas Carlos

    12/01/2022, 8:08 PM
    Anyone else facing intermittence when querying? I'm getting
    {
      "status": "success",
      "data": {
        "resultType": "matrix",
        "result": null
      }
    }
    and some successful queries
    p
    a
    • 3
    • 21
  • k

    Kapil Khanwani

    12/02/2022, 7:16 AM
    I am trying to import a dashboard from Grafana JSON into signoz dashboard. I have used Node variable in grafana. I am not able to give the same value here. Can someone help me debug the issue? Do we need to add a prometheus datasource in signoz in order for promql queries to work?
    a
    s
    • 3
    • 4
  • r

    Raj Singh Yadav

    12/02/2022, 11:56 AM
    how to configure these variables in nodejs application -
    application.owner,project.name,application.location,application.department,company.name
    I have tried the below way but only three variables (service.name, service.namespace,deployment.environment) are getting configured
    resource: new Resource({
          [SemanticResourceAttributes.SERVICE_NAME]: 'appServiceName',
          [SemanticResourceAttributes.SERVICE_NAMESPACE]: 'appServiceNameSpace',
          [SemanticResourceAttributes.COMPANY_NAME]: 'myCompany',
          [SemanticResourceAttributes.DEPLOYMENT_ENVIRONMENT]: 'prod',
          [SemanticResourceAttributes.APPLICATION_LOCATION]: 'mumbai',
          [SemanticResourceAttributes.PROJECT_NAME]: 'newProject',
          [SemanticResourceAttributes.APPLICATION_DEPARTMENT]: 'dev',
          [SemanticResourceAttributes.APPLICATION_OWNER]: 'owner'
          })
    s
    • 2
    • 3
  • l

    Lucas Carlos

    12/02/2022, 3:18 PM
    Any special reason to hardcode pd-standard as disk type for GCP StorageClass?
    v
    p
    • 3
    • 3
  • l

    Lucas Carlos

    12/02/2022, 5:56 PM
    Is is possible to use one variable value into a new one?
    s
    • 2
    • 1
  • a

    Ailen

    12/03/2022, 3:54 AM
    Hello,I installed SigNoz yesterday, and the 50G disk is full soon, how to optimize the disk usage?
    s
    • 2
    • 8
Powered by Linen
Title
a

Ailen

12/03/2022, 3:54 AM
Hello,I installed SigNoz yesterday, and the 50G disk is full soon, how to optimize the disk usage?
s

Srikanth Chekuri

12/03/2022, 5:10 AM
Can you share the output of this query?
SELECT
    database,
    table,
    formatReadableSize(sum(data_compressed_bytes) AS size) AS compressed,
    formatReadableSize(sum(data_uncompressed_bytes) AS usize) AS uncompressed,
    round(usize / size, 2) AS compr_rate,
    sum(rows) AS rows,
    count() AS part_count
FROM system.parts
WHERE (active = 1) AND (database LIKE '%') AND (table LIKE '%')
GROUP BY
    database,
    table
ORDER BY size DESC;
It gives you the tables and their sizes. We will know which ones have the maximum size and take some action
a

Ailen

12/03/2022, 6:05 AM
thx for your reply, where can i run this query?
s

Srikanth Chekuri

12/03/2022, 7:40 AM
You need to connect to clickhouse and run this.
a

Ailen

12/03/2022, 9:16 AM
Hello, this is my screenshot of the query
how can i optimize the storage thx
I just want keep recent 3 days data, what should i do?
s

Srikanth Chekuri

12/03/2022, 11:15 AM
The compressed data is around ~5GB in total for SigNoz so you may have something else taking up the remaining disk space. Please refer to this guide for setting retention https://signoz.io/docs/userguide/retention-period/
View count: 3