influxdata / influxdata/influxdb1-client
Writing own timestamp as tag to Influx
- Dominant language
- Go
- Stars
- 192
- Forks
- 109
- PR merge metrics
- No merged PRs in 30d
Description
In Influx, if we want to write a timestamp of our own, we can write like this
**insert measure1 timestamp1=15678267593i,name="Victoria"**
and later fetch data based on the same, this works = **"select * from measure1 where timestamp1=15678267593".**
I do not understand how to enable the same with go influx client. I do not want to override time (using the Time field in Point structure).
Please let me know on how to enable the same or whether that functionality is supported in the existing influx go client or not.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by inspecting the Go client's Point structure and the write path, focusing on how fields and the Time field are serialized. Determine whether a user-defined timestamp field can be written and queried without overriding point time; document the supported behavior or narrow the request into a concrete client change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100