A Go Client for GreptimeDB, which is compatible with GreptimeDB protocol and lightweight.
- Concurrent safe
- Easy to use with Metric and Series struct
- Support Sql and PromQL in querying
How to use
|Host||GreptimeDB server host|
|Port||Default is 4001|
|Username||Leave the field empty if connecting a database without authentication|
|Password||Leave the field empty if connecting a database without authentication|
|Database||Default database to operate on|
For fully runnable code snippets and explanations for common methods, see the Examples.
Please refer to API Document.