© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Odd Behavior of Histogram in Project Metrics - Effect Community
EC
Effect Community
•
3y ago
•
14 replies
TheStockBroker
Odd Behavior of Histogram in Project Metrics
I am adding some metrics to my project and I saw an odd behavior from histogram which also shows up in the documentation
https://effect.website/docs/observability/otel/metrics#histogram-with-linear-buckets
It seems that the tokens are added to the bucket on the basis of
"lesser
-than
"
, which is not how a histogram works
. I suspect that the range check for which bucket is not returning once the first lesser
-than condition is met
Introduction to Metrics in Effect – Effect
A fully
-fledged functional effect system for TypeScript with a rich standard library
Effect Community
Join
Production-grade applications in TypeScript.
6,221
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Understanding `.register()` Behavior on Frequency Metrics in TypeScript
EC
Effect Community / opentelemetry
3y ago
Counter Metrics
EC
Effect Community / opentelemetry
3y ago
Utilizing Labels to Differentiate Metrics with Identical Keys in Effect Metrics
EC
Effect Community / opentelemetry
3y ago
Issues with `Metric.histogram` altering number boundaries in Effect Typescript library
EC
Effect Community / opentelemetry
10mo ago