Go SDK
A Go Client for GreptimeDB, which is compatible with GreptimeDB protocol and lightweight.
Features
- Concurrent safe
- Non-blocking
- 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.
Configuration
Name | Description |
---|---|
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 |
Usage Examples
For fully runnable code snippets and explanations for common methods, see the Examples.
API
Please refer to API Document.
当前内容版权归 GreptimeDB 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 GreptimeDB .