aboutsummaryrefslogtreecommitdiff
path: root/src/zentelemetry/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2026-04-13 19:17:09 +0200
committerGitHub Enterprise <[email protected]>2026-04-13 19:17:09 +0200
commit3d59b5d7036c35fe484d052ff32dbdc9d0a75cf7 (patch)
tree8d24babc8cd3d097800af0bd960c7ba1d72927d7 /src/zentelemetry/include
parentuse mimalloc by default (#952) (diff)
downloadzen-3d59b5d7036c35fe484d052ff32dbdc9d0a75cf7.tar.xz
zen-3d59b5d7036c35fe484d052ff32dbdc9d0a75cf7.zip
fix utf characters in source code (#953)
Diffstat (limited to 'src/zentelemetry/include')
-rw-r--r--src/zentelemetry/include/zentelemetry/stats.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/zentelemetry/include/zentelemetry/stats.h b/src/zentelemetry/include/zentelemetry/stats.h
index 260b0fcfb..ddec8e883 100644
--- a/src/zentelemetry/include/zentelemetry/stats.h
+++ b/src/zentelemetry/include/zentelemetry/stats.h
@@ -40,7 +40,7 @@ private:
* Suitable for tracking quantities that go up and down over time, such as
* requests in flight or active jobs. All operations are lock-free via atomics.
*
- * Unlike a Meter, a Counter does not track rates — it only records a running total.
+ * Unlike a Meter, a Counter does not track rates - it only records a running total.
*/
class Counter
{
@@ -63,7 +63,7 @@ private:
* rate = rate + alpha * (instantRate - rate)
*
* where instantRate = Count / Interval. The alpha value controls how quickly
- * the average responds to changes — higher alpha means more weight on recent
+ * the average responds to changes - higher alpha means more weight on recent
* samples. Typical alphas are derived from a decay half-life (e.g. 1, 5, 15
* minutes) and a fixed tick interval.
*
@@ -205,7 +205,7 @@ private:
*
* Records exact min, max, count and mean across all values ever seen, plus a
* reservoir sample (via UniformSample) used to compute percentiles. Percentiles
- * are therefore probabilistic — they reflect the distribution of a representative
+ * are therefore probabilistic - they reflect the distribution of a representative
* sample rather than the full history.
*
* All operations are thread-safe via lock-free atomics.
@@ -343,7 +343,7 @@ struct RequestStatsSnapshot
*
* Maintains two independent histogram+meter pairs: one for request duration
* (in hi-freq timer ticks) and one for transferred bytes. Both dimensions
- * share the same request count — a single Update() call advances both.
+ * share the same request count - a single Update() call advances both.
*
* Duration accessors return values in hi-freq timer ticks. Multiply by
* GetHifreqTimerToSeconds() to convert to seconds.
@@ -383,7 +383,7 @@ public:
* or destruction.
*
* The byte count can be supplied at construction or updated at any point via
- * SetBytes() before the scope ends — useful when the response size is not
+ * SetBytes() before the scope ends - useful when the response size is not
* known until the operation completes.
*
* Call Cancel() to discard the measurement entirely.