Skip to content

GreptimeTeam/greptimedb-client-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License Build Status codecov Go Reference

GreptimeDB Go Client

Provide API for using GreptimeDB client in Go.

NOTE: This repository is deprecated. Please visit ingester-go for detail.

Installation

go get -u github.com/GreptimeTeam/greptimedb-client-go

Documentation

visit docs to get complete examples. You can also visit Documentation more details.

API reference

Datatype Supported

  • int8, int16, int32, int64, int
  • uint8, uint16, uint32, uint64, uint
  • float32, float64
  • bool
  • []byte
  • string
  • time.Time

Customize metric Timestamp

you can customize timestamp index via calling methods of Metric

  • metric.SetTimePrecision(time.Microsecond)
  • metric.SetTimestampAlias("timestamp")

License

This greptimedb-client-go uses the Apache 2.0 license to strike a balance between open contributions and allowing you to use the software however you want.