Coder Social home page Coder Social logo

Comments (7)

akvlad avatar akvlad commented on June 11, 2024 1

@Xantorero I have just inserted your issue into the next release issue.

from qryn.

akvlad avatar akvlad commented on June 11, 2024

Tested the qryn collector. All the metrics, traces and logs get ingested successfully.
The environment:
latest version of qryn-collector: https://github.com/metrico/otel-collector/pkgs/container/qryn-otel-collector
The configuration:

receivers:
  zipkin:
  loki:
    protocols:
      http:
  hostmetrics:
    collection_interval: 15s
    initial_delay: 15s
    root_path:
    scrapers:
      cpu:
      disk:
      load:
processors:
  batch:
    send_batch_size: 10000
    timeout: 5s
  memory_limiter:
    check_interval: 2s
    limit_mib: 1800
    spike_limit_mib: 500

exporters:
  qryn:
    dsn: tcp://localhost:9000/qryn2?username=default
    clustered_clickhouse: true
    timeout: 10s
    sending_queue:
      queue_size: 100
    retry_on_failure:
      enabled: true
      initial_interval: 5s
      max_interval: 30s
      max_elapsed_time: 300s
    logs:
      format: json

extensions:
  health_check:
  pprof:
  zpages:
  memory_ballast:
    size_mib: 1000

service:
  extensions: [pprof, zpages, health_check]
  pipelines:
    logs:
      receivers: [loki]
      processors: [memory_limiter, batch]
      exporters: [qryn]
    metrics:
      receivers: [hostmetrics]
      processors: [memory_limiter, batch]
      exporters: [qryn]
    traces:
      receivers: [zipkin]
      processors: [memory_limiter, batch]
      exporters: [qryn]

please note exporters.qryn.clustered_clickhouse should be true if you have more than one clickhouse node behind a load balancer.

from qryn.

Xantorero avatar Xantorero commented on June 11, 2024

Sorry, my long post was a little bit chaotic with information. My problem is not with the data ingestion with Oryn-otel-collector into Clickhouse, all the data metrics, logs and traces are properly inserted. I have problem on the line:

Grafana [Tempo datasource] -> Qryn

I did some research and the issue is connected to Grafana version. Under version 10, so let's say the latest 9.5.13 everything works fine. Bit since Grafana version 10+ I can't query traces. The reason is that underlaying API calls from Grafana to Tempo datasource did change, I can see that in Qryn logs:

Grafana 9.5.13 calls to Qryn look like this:
"GET /api/search/tag/values"

But Grafana 10+ calls to Qryn like this:
"GET /api/v2/search/tag/name/values"

So basically if I use new Grafana releases I can't access the traces stored qith Qryn in Clickhouse.

from qryn.

akvlad avatar akvlad commented on June 11, 2024

Currently the latest tested working version is Grafana v10.0.1 (5a30620b85) . It works ok.

from qryn.

Xantorero avatar Xantorero commented on June 11, 2024

You are right, 10.0.1 works fine - by 10+ I meant 10.1.5 and 10.2.0 that I have tested and they did not work. Do You have some plans regarding Grafana updates?

from qryn.

Xantorero avatar Xantorero commented on June 11, 2024

Thank You very much!

from qryn.

lmangani avatar lmangani commented on June 11, 2024

Resolved in 3.x feel free to reopen if needed.

from qryn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.