Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

> When the logging exporter is enabled with logLevel: debug, the following is seen when a batch with 2 spans is sent and the pipeline is properly configured: #8001

Closed
akankshahulge opened this issue Jun 29, 2023 · 0 comments

Comments

@akankshahulge
Copy link

          > When the logging exporter is enabled with `logLevel: debug`, the following is seen when a batch with 2 spans is sent and the pipeline is properly configured:
2021-02-02T13:24:36.255+0100	INFO	loggingexporter/logging_exporter.go:313	TracesExporter	{"#spans": 2}
2021-02-02T13:24:36.255+0100	DEBUG	loggingexporter/logging_exporter.go:352	ResourceSpans #0
Resource labels:
     -> service.name: STRING(tracegen)
InstrumentationLibrarySpans #0
InstrumentationLibrary tracegen 
Span #0
    Trace ID       : 2cdd9ff21dc834d442d4762e8cffef12
    Parent ID      : 163337910d2306b2
    ID             : f2d897eeeb45c938
    Name           : okey-dokey
    Kind           : SPAN_KIND_INTERNAL
    Start time     : 2021-02-02 13:24:36.25349814 +0100 CET
    End time       : 2021-02-02 13:24:36.253622118 +0100 CET
    Status code    : STATUS_CODE_OK
    Status message : 
Attributes:
     -> span.kind: STRING(server)
     -> net.peer.ip: STRING(1.2.3.4)
     -> peer.service: STRING(tracegen-client)
Span #1
    Trace ID       : 2cdd9ff21dc834d442d4762e8cffef12
    Parent ID      : 
    ID             : 163337910d2306b2
    Name           : lets-go
    Kind           : SPAN_KIND_INTERNAL
    Start time     : 2021-02-02 13:24:36.253494558 +0100 CET
    End time       : 2021-02-02 13:24:36.253622118 +0100 CET
    Status code    : STATUS_CODE_OK
    Status message : 
Attributes:
     -> span.kind: STRING(client)
     -> net.peer.ip: STRING(1.2.3.4)
     -> peer.service: STRING(tracegen-server)

where do i add loglevel:debug in configmap.yaml how cani able to see these logs now i am able to see only 2023-06-29T10:39:46.672Z INFO loggingexporter/logging_exporter.go:313 TracesExporter {"#spans": 1}

Originally posted by @akankshahulge in #2431 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant