Git Product home page Git Product logo

Comments (4)

zyy17 avatar zyy17 commented on June 24, 2024

@GoneLikeAir Thank you for your report! I will confirm it based on your description.

from greptimedb.

zyy17 avatar zyy17 commented on June 24, 2024

@GoneLikeAir, is this an issue that must occur? Based on my environment, I can't reproduce your problem. Can you give me more information, for example:

  • the specific steps
  • more key error log of other components, for example, datanode or frontend;

The following are my steps for using remote write and read:

  • Install GreptimeDB cluster by the guide. After installation, I use kubectl port-forward to expose 4000 and 4002;

  • Install node exporter:

docker run -d \
  --net="host" \
  --pid="host" \
  -v "/:/host:ro,rslave" \
  quay.io/prometheus/node-exporter:latest \
  --path.rootfs=/host
  • Install Prometheus
docker run --network=host \ -p 9090:9090 \ -v /tmp/prometheus.yml:/etc/prometheus/prometheus.yml \ prom/prometheus

And here is my prometheus.yml:

global:
  scrape_interval: 15s

scrape_configs:
- job_name: node
  static_configs:
  - targets: ['localhost:9100']

remote_write:
- url: http://localhost:4000/v1/prometheus/write?db=public&physical_table=greptime_physical_table

remote_read:
- url: http://localhost:4000/v1/prometheus/read?db=public
  • Use mysql to read the data:
mysql -h 127.0.0.1 -P 4002

from greptimedb.

killme2008 avatar killme2008 commented on June 24, 2024

I think it's a compatible issue. Do you still have this problem? @GoneLikeAir

from greptimedb.

killme2008 avatar killme2008 commented on June 24, 2024

I closed this issue. Feel free to reopen it if you still have some issues.

from greptimedb.

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.