You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This option can significantly improve the speed of data conversion to the underlying format. For optimal performance, we recommend setting the column buffer size to 1024 or larger, depending on your specific workload characteristics and available memory.
366
369
370
+
### Export Metrics
371
+
372
+
The ingester exposes comprehensive metrics that enable you to monitor its performance, health, and operational status.
373
+
374
+
For detailed information about available metrics and their usage, refer to the [Ingester Prometheus Metrics](./ingester-prometheus-metrics/) documentation.
Metrics monitoring is a critical component for ensuring optimal ingester performance and reliability. It provides:
4
+
5
+
- Real-time visibility into ingester health and performance
6
+
- Proactive monitoring capabilities for maintaining system stability
7
+
- Rapid troubleshooting and issue resolution
8
+
9
+
For detailed information about available metrics, including descriptions and usage guidelines, see our [comprehensive metrics documentation](../docs/metrics-display.md#list-of-metrics-constantly-updated).
10
+
11
+
## Start Metrics Exporter
12
+
13
+
To start an HTTP server that serves Prometheus metrics, initialize the metrics exporter before starting the GreptimeDB ingester:
You can check the output of `curl http://<host>:<port>/metrics` by getting the latest metrics of the ingester.
25
+
26
+
## Export Metrics to Prometheus
27
+
28
+
The ingester supports exporting metrics to Prometheus. Before configuring export of metrics, you need to setup Prometheus by following their official [documentation](https://prometheus.io/docs/prometheus/latest/installation/).
29
+
30
+
To scrape metrics from the ingester, write a Prometheus configuration file and save it as `prometheus.yml`:
31
+
32
+
```yaml
33
+
global:
34
+
scrape_interval: 15s
35
+
36
+
scrape_configs:
37
+
- job_name: 'greptimedb ingester'
38
+
static_configs:
39
+
# Assuming that the ingester is running locally.
40
+
# The default HTTP port of 8090.
41
+
- targets: ['localhost:8090']
42
+
```
43
+
44
+
Start Prometheus using the configuration file:
45
+
46
+
```bash
47
+
./prometheus --config.file=prometheus.yml
48
+
```
49
+
50
+
## Grafana Dashboard
51
+
52
+
You can import dashboard via JSON model: [`greptimedb-ingester-dashboard.json`](../grafana/greptimedb-ingester-dashboard.json)
0 commit comments