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
Please refer to User Guide chapter to learn how to insall SDK, write data and query data.
|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.