Comments (4)
@GoneLikeAir Thank you for your report! I will confirm it based on your description.
from greptimedb.
@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 expose4000
and4002
; -
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.
I think it's a compatible issue. Do you still have this problem? @GoneLikeAir
from greptimedb.
I closed this issue. Feel free to reopen it if you still have some issues.
from greptimedb.
Related Issues (20)
- Support TLS reloading on gRPC server HOT 4
- Make region lease duration granted by metasrv dynamic
- Failed to run fuzz tests with cluster run on MinIO + Disk Cache HOT 1
- Tracking issuse: Improve flow functionality
- Fuzz test failure Distributed, Minio, fuzz_insert_logical_table HOT 2
- Region 265098266411008(61723, 0) is in ReadOnly state, expect: Writable HOT 4
- Workflow run 'Release' failed HOT 4
- Failed to open region: Empty region directory
- Reconsider bg_worker runtime size and dedicated heartbeat tasks
- Workflow run 'GreptimeDB Nightly Build' failed HOT 2
- Workflow run 'Release' failed
- Workflow run 'Release' failed HOT 5
- Sqlness tests failed HOT 1
- Program panic when profiling HOT 2
- `information_schema.region_peers` returns same `region_id` multiple times HOT 1
- Remove the `StandaloneKafkaConfig` struct
- [Tracking Issue] Make region failover great again
- Improve interval expression HOT 2
- Integration test for events API HOT 1
- Incorrect peer_addr in cluster_info meta table
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from greptimedb.