Skip to content

Commit a732313

Browse files
Stephen-BaoStephen-Bao
Stephen-Bao
authored andcommitted
Modified README to more clearly reflect the behavior of setFlushPreserveDimensions()
1 parent ecf215e commit a732313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ setTimestamp(Instant.now())
207207

208208
- **flush**()
209209

210-
Flushes the current MetricsContext to the configured sink and resets all properties and metric values. The namespace and default dimensions will be preserved across flushes. Custom dimensions are preserved by default, but can be disabled by invoking `setFlushPreserveDimensions(false)`.
210+
Flushes the current MetricsContext to the configured sink and resets all properties and metric values. The namespace and default dimensions will be preserved across flushes. Custom dimensions are preserved by default, but this behavior can be disabled by invoking `setFlushPreserveDimensions(false)`, so that no custom dimensions would be preserved after each flushing thereafter.
211211

212212
Example:
213213

0 commit comments

Comments
 (0)