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

    banto

    11/23/2022, 10:37 AM
    Hi, I am trying to run the example https://signoz.io/blog/opentelemetry-angular/
    v
    p
    • 3
    • 13
  • b

    banto

    11/23/2022, 10:38 AM
    this command fails
  • b

    banto

    11/23/2022, 10:38 AM
    npm i @jufab/opentelemetry-angular-interceptor && npm i @opentelemetry/api @opentelemetry/sdk-trace-web @opentelemetry/sdk-trace-base @opentelemetry/core @opentelemetry/semantic-conventions @opentelemetry/resources @opentelemetry/exporter-trace-otlp-http @opentelemetry/exporter-zipkin @opentelemetry/propagator-b3 @opentelemetry/propagator-jaeger @opentelemetry/context-zone-peer-dep @opentelemetry/instrumentation @opentelemetry/instrumentation-document-load @opentelemetry/instrumentation-fetch @opentelemetry/instrumentation-xml-http-request @opentelemetry/propagator-aws-xray --save-dev
  • b

    banto

    11/23/2022, 10:40 AM
    pm ERR! ERESOLVE could not resolve
    npm ERR!
    npm ERR! While resolving: angular-sample-app@0.0.0
    npm ERR! Found: @angular/compiler@13.3.12
    npm ERR! node_modules/@angular/compiler
    npm ERR!   @angular/compiler@"~13.3.0" from the root project
    npm ERR!   peer @angular/compiler@"13.3.12" from @angular/compiler-cli@13.3.12
    npm ERR!   node_modules/@angular/compiler-cli
    npm ERR!     dev @angular/compiler-cli@"~13.3.0" from the root project
    npm ERR!     peer @angular/compiler-cli@"^13.0.0 || ^13.3.0-rc.0" from @angular-devkit/build-angular@13.3.2
    npm ERR!     node_modules/@angular-devkit/build-angular
    npm ERR!       dev @angular-devkit/build-angular@"~13.3.2" from the root project
    npm ERR!
    npm ERR! Could not resolve dependency:
    npm ERR! @angular/platform-browser-dynamic@"~13.3.0" from the root project
    npm ERR!
    npm ERR! Conflicting peer dependency: @angular/compiler@13.3.2
    npm ERR! node_modules/@angular/compiler
    npm ERR!   peer @angular/compiler@"13.3.2" from @angular/platform-browser-dynamic@13.3.2
    npm ERR!   node_modules/@angular/platform-browser-dynamic
    npm ERR!     @angular/platform-browser-dynamic@"~13.3.0" from the root project
    npm ERR!
    npm ERR! Fix the upstream dependency conflict, or retry
    npm ERR! this command with --force, or --legacy-peer-deps
    npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
  • b

    banto

    11/23/2022, 10:41 AM
    pls help
  • b

    banto

    11/23/2022, 12:53 PM
    one more question
  • b

    banto

    11/23/2022, 12:53 PM
    how can I pass the otelcolConfig url as parameter?
    p
    • 2
    • 6
  • b

    banto

    11/23/2022, 12:53 PM
    @NgModule({
    declarations: [AppComponent],
    imports: [
    BrowserModule,
    AppRoutingModule,
    HttpClientModule,
    OpenTelemetryInterceptorModule.forRoot({
    commonConfig: {
    console: true, // Display trace on console
    production: false, // Send Trace with BatchSpanProcessor (true) or SimpleSpanProcessor (false)
    serviceName: 'Angular Sample App', // Service name send in trace
    logBody: true, // true add body in a log, nothing otherwise
    probabilitySampler: '1', // 75% sampling
    logLevel: DiagLogLevel.ALL, //ALL Log, DiagLogLevel is an Enum from @opentelemetry/api
    },
    otelcolConfig: {
    url: '<http://127.0.0.1:4318/v1/traces>', // URL of opentelemetry collector
    attributes: {
    test: 'test',
    },
    },
    }),
    //Insert OtelCol exporter module
    OtelColExporterModule,
    //Insert propagator module
    CompositePropagatorModule,
    ],
    providers: [],
    bootstrap: [AppComponent],
    })
  • b

    banto

    11/23/2022, 12:53 PM
    '<http://127.0.0.1:4318/v1/traces>
    above is hardcoded
  • i

    Ishwor Gurung

    11/24/2022, 7:49 AM
    πŸ‘‹ If i had some zap fields ready to go with trace ids, how do i land them to signoz so as to be able to do log <> trace (bi/uni directional) correlation today? thanks for signoz team!
    n
    • 2
    • 9
  • i

    Ishwor Gurung

    11/25/2022, 2:09 AM
    If I am currently in the logs view, after getting trace id log lines to match, is there a way to click and land in the trace view? it might be a UI related
    v
    p
    • 3
    • 8
  • p

    Pranay

    11/26/2022, 1:33 PM
    hey folks, what's the most popular open source pagerduty alternative? does anyone in the community have experience with them
    i
    • 2
    • 2
  • a

    Apoorva

    11/29/2022, 9:07 AM
    https://github.com/y-scope/clp Found this today, came via uber blog
    p
    • 2
    • 4
  • i

    Ishwor Gurung

    11/30/2022, 5:11 AM
    what's a canonical way folks have got their lambda logs into signoz? also, what's recommendation? :thankyou:
    p
    n
    +2
    • 5
    • 13
  • d

    DWARAMPUDI VIJAYA SREE SAI REDDY

    12/01/2022, 12:05 PM
    Hello Folks, Is there any way to send an alert when the server is down?
    s
    • 2
    • 1
  • g

    gati sahu

    12/02/2022, 4:28 AM
    Hi Folks Is there way I can also do java method level instrument in signoz .
    p
    m
    • 3
    • 2
  • i

    Ishwor Gurung

    12/02/2022, 10:28 AM
    hey folks, i am contemplating how the
    timestamp
    might have been corrupted somehow? πŸ˜…
    Row 5:
    ──────
    timestamp:                16616360830611120685
    observed_timestamp:       1669976312096499717
    id:                       2IJmVr3fofdss3H3b6bL3YvjBKe
    trace_id:                 234a5bcd543ef3fa53ce929d0e0e4736
    span_id:                  b4b37b64bb3f6141
    trace_flags:              0
    severity_text:            
    severity_number:          0
    body:                     {"log":"{\"level\":\"info\",\"ts\":\"1912-01-01T11:12:36.901569069+1100\",\"msg\":\"hello\",\"error\":\"eeeeerrrrr\",\"trace_id\":\"234a5bcd543ef3fa53ce929d0e0e4736\",\"span_id\":\"b4b37b64bb3f6141\"}\r\n","stream":"stdout","time":"2022-12-02T10:18:31.908222809Z"}
    resources_string_key:     []
    resources_string_value:   []
    attributes_string_key:    ['log_file_path','timestamp']
    attributes_string_value:  ['/var/log/pods/default_echoer_9eb10131-9899-4112-9867-b1d6e0701d3a/echoer/0.log','1912-01-01T11:12:36.901569069+1100']
    attributes_int64_key:     []
    attributes_int64_value:   []
    attributes_float64_key:   []
    attributes_float64_value: []
    repro:
    kubectl run --namespace default -it --rm --restart=Never --image=alpine echoer -- \
      echo '{"level":"info","ts":"1912-01-01T11:12:36.901569069+1100","msg":"hello","error":"eeeeerrrrr","trace_id":"234a5bcd543ef3fa53ce929d0e0e4736","span_id":"b4b37b64bb3f6141"}'
    cfg on log collector:
    receivers:
          filelog/containers:
            exclude:
            - /var/log/pods/otelcol_*/opentelemetry-collector/*.log
            include:
            - /var/log/pods/*/*/*.log
            include_file_name: false
            include_file_path: true
            operators:
            - id: mslog
              regex: '{.*?\\"ts\\":\\"(?P<timestamp>\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{1,20}(\+|\-)\d{2}\d{2})\\".*?,\\"trace_id\\":\\"(?P<trace_id>\S*)\\",\\"span_id\\":\\"(?P<span_id>\S*)\\".*?'
              timestamp:
                layout: '%Y-%m-%dT%H:%M:%S.%f%z'
                parse_from: attributes.timestamp
              trace:
                span_id:
                  parse_from: attributes.span_id
                trace_id:
                  parse_from: attributes.trace_id
              type: regex_parser
            - field: attributes.trace_id
              type: remove
            - field: attributes.span_id
              type: remove
    also, how to get
    timestamp
    on the frontend to show
    1912-01-01T11:12:36.901569069+1100
    ? πŸ™
    a
    n
    • 3
    • 17
  • j

    Jason

    12/02/2022, 1:52 PM
    Hello everyone. We've been using Uptrace and just found Signoz. Does Signoz have the concept of multiple applications/projects being monitored at the same time?
    p
    a
    • 3
    • 9
  • j

    Jason

    12/02/2022, 1:52 PM
    With Uptrace we send to a different url per application and then have the ability to drill down to the one we're interested in on the front-end
  • s

    Sai Saubhagya

    12/04/2022, 3:59 AM
    Hi Everyone, I am using signoz since last few days . Just a beginner . I want to use s3 as storage in signoz . I can see it is possible in the documentation but it is mention that s3 can be use as cold storage . I want to use as primary . Is it possible ?
    p
    n
    a
    • 4
    • 10
  • g

    George Larson

    12/04/2022, 8:15 AM
    i'm setting up our centralized log monitoring for the first time and would appreciate some advice. right now, it seems like i can just send everything through syslog. down the road, is this something i'm highly likely to regret? would it make more sense to take the time to set up fluentd now? or would that just be creating work for minor gain? thanks!
    p
    n
    • 3
    • 3
  • k

    Kapil Khanwani

    12/04/2022, 1:28 PM
    Hi guys. Can someone please explain the difference between rate avg and avg in dashboards?
    s
    • 2
    • 1
  • k

    Kapil Khanwani

    12/05/2022, 4:16 AM
    Hi team. Is it possible to create a logs dashboard in signoz?
    p
    • 2
    • 4
  • t

    Teymour

    12/05/2022, 11:19 AM
    Hey all, our company is looking for a monitoring solution and I've brought up a signoz setup locally for testing. I modified the default compose file and adjusted the signoz otel configs. Basically I just want to send some host metrics to signoz to start with. I don't get any errors on container startups and
    docker run -it --rm signoz/troubleshoot checkEndpoint --endpoint=<...>
    is running fine. But I don't see anything on the signoz frontend/UI. What am I missing? Will link the config setup/files as answer to this msg.
    p
    s
    • 3
    • 50
  • b

    Bill Cavalieri

    12/05/2022, 8:14 PM
    Am I correct in 1 APM/Trace application can be setup. So if I had 9 customer applications to monitor, I should do 9 installs? I was able to get infrastructure monitoring of multiple servers working with labels. But haven't found apm/tracing to be the same.
    a
    • 2
    • 1
  • v

    Vikas Sansanwal

    12/06/2022, 8:30 AM
    Hi , I am configuring signoz in our applications , 2 of the application successfully configured but 3rd application is not showing up in the services in signoz console although it is successfully depoyed.
    v
    p
    s
    • 4
    • 9
  • p

    Param Namdev

    12/06/2022, 6:44 PM
    Hi, I am confuse a little. how to configure Signoz in microservice environment. Do I need to do configuration in all microservice or is there any way to give configuration whole AWS account.
    p
    • 2
    • 3
  • p

    Param Namdev

    12/06/2022, 7:38 PM
    message has been deleted
  • p

    Pranay

    12/07/2022, 3:56 AM
    Ebay recently moved to Opentelemetry. Interesting to see increasing adoption πŸ™‚ - https://tech.ebayinc.com/engineering/why-and-how-ebay-pivoted-to-opentelemetry/
  • t

    Teymour

    12/07/2022, 5:06 PM
    Hey, since there is an API endpoint for creating/managing dashboards (/api/v1/dashboards): β€’ is there an API endpoint for users? β€’ also, is there currently a documentation for the API (haven't found one)? β€’ last question, is there a guide/doc for user management? (possible settings, etc...)
    p
    a
    • 3
    • 5
Powered by Linen
Title
t

Teymour

12/07/2022, 5:06 PM
Hey, since there is an API endpoint for creating/managing dashboards (/api/v1/dashboards): β€’ is there an API endpoint for users? β€’ also, is there currently a documentation for the API (haven't found one)? β€’ last question, is there a guide/doc for user management? (possible settings, etc...)
p

Pranay

12/07/2022, 5:37 PM
@Teymour We don't have any API docs yet. Curious, what are the use cases you had for API endpoint for users? docs for user management - https://signoz.io/docs/userguide/authentication/
t

Teymour

12/09/2022, 9:18 AM
@Pranay: Hey Pranay, sorry for the late answer. I have been tearing down and re-creating a signoz setup with terraform/ansible several times over the last few days. And was just wondering if there was a way to automatically provision a setup with pre-defined users.
But it's not critical as I will be saving the signoz.db (sqlite) to a seperate non deletable volume when the time comes.
Regarding the import of dashboards via API, where do you get the bearer token from? That's something I haven't been able to figure out yet with a quick search.
a

Ankit Nayan

12/10/2022, 7:04 PM
@Teymour there is an auth component at query-service. After a user provides correct credentials, they receive a bearer token which is stored at frontend and passed to every request to backend. Every token has an expiry period, probably 30 mins after which a new token is provided using refreshToken api
View count: 1