influxdata / influxdata/docs-v2

Please share a thread safe method to increment integers.

Open
#4,763 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
82
Forks
326
Avg merge
1d 1h
Merged PRs (30d)
82

Description

_Describe the issue here._

##### Relevant URLs
- https://docs.influxdata.com/flux/v0.x/data-types/basic/int/
- _Provide other relevant URLs (project issues, community threads, etc.)_
I am looking for something equivalent to prometheus counter function which increments a value based on previous value.
This makes it safer to use when multiple instances try to modify the same metric.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked Flux integer documentation and compare the requested behavior with the Prometheus counter model described in the issue. Determine whether the documentation should explain an existing thread-safe increment method or clarify its absence; the work is done when the supported approach and its concurrency limitations are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
prometheus
Domain
databases, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.