influxdata / influxdata/kapacitor
Generate random ID for influxdbOutNode
Open
@docmerlin is already working on this.
Since Dec 16, 2021.
- Dominant language
- Go
- Stars
- 2.4k
- Forks
- 479
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 4
Description
Is there a way to generate a random ID through a lambda function or anything of the sort? Something Like
|influxDBOut()
.create()
.database(outputDB)
.retentionPolicy(outputRP)
.measurement(outputMeasurement)
.tag('alertName', name)
.tag('triggerType', triggerType)
.tag('acked', 'false')
.tag('location', 'Building 1')
.tag('id', rand.Intn(100))
There was an issue raised about this before but no answer. Any suggestions?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.