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

Elastic exporter not picking up DB queries #1961

Closed
bhupesh-sf opened this issue Jan 8, 2021 · 6 comments
Closed

Elastic exporter not picking up DB queries #1961

bhupesh-sf opened this issue Jan 8, 2021 · 6 comments

Comments

@bhupesh-sf
Copy link

bhupesh-sf commented Jan 8, 2021

I am using elastic exporter and when I go to elastic it shows me trace and shows only one pg query whereas it has 4-5 queries. If I use elastic agent it shows me all.

Steps to reproduce
My flow is I call a facade from postman which calls a service which makes DB request 3-4 times and then calls another service which again calls db and then fails.

What did you expect to see?
I should be seeing everything logged in trace as its been with elastic agent.

What did you see instead?
DB queries are completely missing also no 40 not found badge which comes when I use elastic agent

What version did you use?
Version: v0.17.0

What config did you use?
Config:

`

receivers:

otlp:
  protocols:
    http:
      endpoint: 127.0.0.1:55681
      cors_allowed_origins:
      - http://*
      - https://*

  processors:
      batch: null
      queued_retry: null
      resourcedetection/system:
        detectors: [env, system]
        timeout: 2s
        override: false
  
  exporters:
      elastic:
        apm_server_url: 'http://localhost:8200'
  
  service:
      pipelines:
        traces:
          receivers: [otlp]
          processors: [batch, resourcedetection/system]
          exporters: [elastic]

Environment
OS: Ubuntu 20.04

@bhupesh-sf bhupesh-sf added the bug Something isn't working label Jan 8, 2021
@bhupesh-sf
Copy link
Author

Any update here?

@andrewhsu
Copy link
Member

from the collector sig triage today, cc @axw @simitt @jalvz for this issue because it is related to elasticexporter

@axw
Copy link
Contributor

axw commented Jan 14, 2021

Thanks for the ping @andrewhsu!

@bhupesh-sf can you please add a logging exporter to the traces pipeline, capture the output, and point out which spans are not being captured in Elastic APM? Providing a screenshot of a trace waterfall in Elastic APM may also be helpful.

dyladan referenced this issue in dynatrace-oss-contrib/opentelemetry-collector-contrib Jan 29, 2021
@cyrille-leclerc
Copy link
Member

Hello @bhupesh-sf , friendly ping, can you provide more details as @axw asked?

@github-actions
Copy link
Contributor

github-actions bot commented Nov 4, 2022

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

@github-actions github-actions bot added the Stale label Nov 4, 2022
@github-actions
Copy link
Contributor

This issue has been closed as inactive because it has been stale for 120 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants