Commit Graph

25 Commits

Author SHA1 Message Date
Kevin Hoxha f32281bdce metrics: Break down OTELSum into smaller chunks to avoid UDP max packet size 2022-12-08 10:07:11 -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 3055f0d7b7 metrics: Add verifyStatsdMessage() for testing 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
Kevin Hoxha c96cb24af2 metrics: Initial code
- Define new IMetric interface
- Rename MetricUpdateBatch to MetricBatch
- Move previous fields of MetricUpdateBatch into a new struct called FDBScope
- Define global MetricCollection class and enMetric enumerate
2022-12-08 10:07:11 -08:00
sfc-gh-tclinkenbeard 985958c260 Add rare code probe decoration 2022-09-25 15:28:32 -07:00
A.J. Beamon 4fd64630e8 Convert literal string ref instances to use _sr suffix 2022-09-19 11:35:58 -07:00
Markus Pilman 1de37afd52
Make TEST macros C++ only (#7558)
* proof of concept

* use code-probe instead of test

* code probe working on gcc

* code probe implemented

* renamed TestProbe to CodeProbe

* fixed refactoring typo

* support filtered output

* print probes at end of simulation

* fix missed probes print

* fix deduplication

* Fix refactoring issues

* revert bad refactor

* make sure file paths are relative

* fix more wrong refactor changes
2022-07-19 13:15:51 -07:00
sfc-gh-tclinkenbeard a71099471b Update copyright header dates 2022-03-21 13:36:23 -07:00
sfc-gh-tclinkenbeard e006e4fed4 Fix -Wreorder-ctor warnings in LogSystemPeekCursor.actor.cpp and several other files 2021-07-24 00:48:13 -07:00
sfc-gh-tclinkenbeard 64dc1dc185 Fix -Wreorder-ctor warnings in NativeAPI.actor.cpp and several other files 2021-07-24 00:23:06 -07:00
sfc-gh-tclinkenbeard f28ac955c3 Remove unnecessary temporary objects while growing objects of type std::vector<std::pair<A, B>> 2021-05-10 16:32:50 -07:00
FDB Formatster df90cc89de apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
sfc-gh-tclinkenbeard 21d7620922 TDMetric optimizations 2020-12-26 22:50:34 -04:00
sfc-gh-tclinkenbeard baf751e706 Use unique_ptr for DynamicEventMetric fields 2020-12-08 09:09:30 -08:00
sfc-gh-tclinkenbeard 29e10d1418 Modernize TDMetric signatures 2020-12-08 09:09:30 -08:00
A.J. Beamon fa6e45a852 Separate AsioReactor sleep and react into two different functions. Track slow tasks and time spent in react, track time spent in launch. Don't track react time at priority 0. 2019-08-28 14:35:48 -07:00
A.J. Beamon 5f55f3f613 Replace g_random and g_nondeterministic_random with functions deterministicRandom() and nondeterministicRandom() that return thread_local random number generators. Delete g_debug_random and trace_random. Allow only deterministicRandom() to be seeded, and require it to be seeded from each thread on which it is used. 2019-05-10 14:01:52 -07:00
Evan Tschannen b6008558d3 renamed BinaryWriter.toStringRef() to .toValue(), because the function now returns a Standalone<StringRef>()
eliminated an unnecessary copy from the proxy commit path
eliminated an unnecessary copy from buffered peek cursor
2019-03-28 11:52:50 -07:00
Robert Escriva 268093a96d Adjust all includes to be relative to the root.
Remove the use of relative paths.  A header at foo/bar.h could be included by
files under foo/ with "bar.h", but would be included everywhere else as
"foo/bar.h".  Adjust so that every include references such a header with the
latter form.

Signed-off-by: Robert Escriva <rescriva@dropbox.com>
2018-10-19 17:35:33 +00:00
Alec Grieser 0bae9880f1 remove trailing whitespace from our copyright headers ; fixed formatting of python setup.py 2018-02-21 10:25:11 -08:00
FDB Dev Team a674cb4ef4 Initial repository commit 2017-05-25 13:48:44 -07:00