Kevin Hoxha
a05649c620
metrics: Add knob to control emission of DDSketch buckets
2022-12-14 14:33:39 -08:00
Kevin Hoxha
5dc40d04fe
metrics: Make NumberDataPoint contain a variant<int, double> of the value
...
Gauges tend to be double while counters are int, so we need to support both.
2022-12-08 10:07:11 -08:00
Kevin Hoxha
3cea754ba3
metrics: Add OTEL metric definitions
2022-12-08 10:07:11 -08:00
Kevin Hoxha
407c371635
metrics: Add simulation testing and fix incorrect TraceEvent names
...
- Added a background actor that listens on METRICS_EMISSION_UDP_PORT for incoming metrics (and verifies they are in the correct format)
- TraceEvent details have certain requirements for naming. This commit makes a seperate name for Counter/LatencySample and its underlying IMetric to avoid
those issues
2022-12-08 10:07:11 -08:00
Kevin Hoxha
188e635b2e
metrics: Avoid name conflicts in MetricCollection
...
- In Counter constructor, make sure that we combine CounterCollection name
- In IMetric constructor, add a trace event and assertion in case of collision
- Rename ClusterRecoveryData CounterCollection name from master to ClusterRecoveryData
2022-12-08 10:07:11 -08:00
Kevin Hoxha
36fea5b328
metrics: Make sure LatencyBand counters are unique
2022-12-08 10:07:11 -08:00
Kevin Hoxha
fe73576cc7
metrics: Add knobs and make Counter, LatencySample implement flush() method
2022-12-08 10:07:11 -08:00
Kevin Hoxha
eebf4d92f6
metrics: Add flush() definitions to Counter and LatencySample
2022-12-08 10:07:11 -08:00
Kevin Hoxha
30744c1310
metrics: Make LatencySample and Counter inherit from IMetric
2022-12-08 10:07:11 -08:00
sfc-gh-tclinkenbeard
8766809cee
Add count parameter to LatencyBands::addMeasurement
2022-10-25 17:10:59 -07:00
sfc-gh-tclinkenbeard
3ebd8421dc
Add LatencyBandsMap
2022-10-25 16:10:38 -07:00
sfc-gh-tclinkenbeard
9223deee4e
Move LatencyBands method implementations into cpp file
2022-10-25 16:10:38 -07:00
sfc-gh-tclinkenbeard
74212eeacf
Encapsulate CounterCollection
2022-10-25 10:17:15 -07:00
sfc-gh-tclinkenbeard
a71099471b
Update copyright header dates
2022-03-21 13:36:23 -07:00
Chang Liu
8427e40cbe
Fix roll trace event issue
...
Description
Testing
2021-09-24 09:53:32 -07:00
Chang Liu
48990058a3
Fix roll trace event issue
...
Description
Testing
2021-09-24 09:53:32 -07:00
sfc-gh-tclinkenbeard
b9a22a61ef
Fix many -Wreorder-ctor warnings
2021-07-23 17:33:18 -07:00
FDB Formatster
df90cc89de
apply clang-format to *.c, *.cpp, *.h, *.hpp files
2021-03-10 10:18:07 -08:00
David Youngworth
d0391db862
Merge branch 'release-6.2' into release-6.3
2020-11-16 10:15:23 -08:00
Xin Dong
af7e65110f
Allow the caller to decorate role metrics trace event with more details.
2020-10-30 16:20:08 -07:00
A.J. Beamon
00912f5855
Don't use the end of a window in calculating the elapsed time for roughness
2020-10-19 13:40:16 -07:00
A.J. Beamon
b09dddc07e
Merge branch 'release-6.2' into merge-release-6.2-into-release-6.3
...
# Conflicts:
# cmake/ConfigureCompiler.cmake
# documentation/sphinx/source/downloads.rst
# fdbrpc/FlowTransport.actor.cpp
# fdbrpc/fdbrpc.vcxproj
# fdbserver/DataDistributionQueue.actor.cpp
# fdbserver/Knobs.cpp
# fdbserver/Knobs.h
# fdbserver/LogSystemPeekCursor.actor.cpp
# fdbserver/MasterProxyServer.actor.cpp
# fdbserver/Status.actor.cpp
# fdbserver/storageserver.actor.cpp
# flow/flow.vcxproj
2020-07-10 15:06:34 -07:00
A.J. Beamon
04d1217941
Track statistics about server-side request latency on each process, to include min, max, mean, and various percentiles.
2020-07-09 16:39:15 -07:00