opengemini-client-go icon indicating copy to clipboard operation
opengemini-client-go copied to clipboard

CNCF openGemini Go Client Library

Results 9 opengemini-client-go issues
Sort by recently updated
recently updated
newest added

When I used the `LineProtocolEncoder` parser to parse the line protocol, I found that it was inefficient and error-prone. This is my benchmark test case: ```go // Creating an encoder...

https://github.com/openGemini/opengemini-client-go/blob/e15a322d7b9b723bcd406921aaae89964c144829/opengemini/servers_check.go#L48-L58 This may not be a reasonable way to achieve rotation. Even in Golang uint32() avoids negative numbers, this way is not good for understanding and long term operation.

### repro Need help to determine is this server side or client side issue ![image](https://github.com/user-attachments/assets/e815c18b-ea3c-4778-96ff-88e67a620b7e)

sync code from: https://github.com/openGemini/openGemini/tree/main/lib/record

1. What is the main purpose of this PR? Add OpenTelemetry support to the OpenGemini Go client to implement distributed tracing, metric collection, and log aggregation. The data format adheres...