Vector

Vector is a high performance observability data pipeline. It has native support for GreptimeDB metrics data sink. With vector, you can ingest metrics data from various sources, including Prometheus, OpenTelemetry, StatsD and many more. GreptimeDB can be used as a Vector Sink component to receive metrics.

To use Vector with GreptimeCloud, you need its version 0.37 and above. A minimal configuration of when using your GreptimeCloud instance can be:

  1. # sample.toml
  2. [sources.in]
  3. type = "host_metrics"
  4. [sinks.my_sink_id]
  5. inputs = ["in"]
  6. type = "greptimedb"
  7. endpoint = "<host>:5001"
  8. dbname = "<dbname>"
  9. username = "<username>"
  10. password = "<password>"
  11. tls = {}

Execute Vector with:

  1. vector -c sample.toml

For more configuration options, see Vector GreptimeDB Configuration.