Marten Seemann
005b976a8c
add a DefaultLimitConfig with infinite limits
...
This is useful when recording a trace to observe the baseline resource
consumption.
2022-06-06 11:18:46 +02:00
Marten Seemann
5224eb6ad6
export the TraceEvt ( #40 )
2022-06-04 06:43:35 -07:00
Marten Seemann
4316554cd3
trace exact timestamps ( #39 )
...
RFC3339 only exports up to second granularity, which is not enough for a
detailed analysis.
2022-06-04 06:43:23 -07:00
Marten Seemann
5874c5f23a
skip events that don't change anything in tracer ( #38 )
...
This happens when empty sub-scopes are moved around between scopes.
2022-06-04 04:20:07 -07:00
Marten Seemann
43054380a8
fix typos in MetricsReporter docs
2022-06-03 19:24:07 +02:00
Marten Seemann
100309ee2e
fix shadowing of service name ( #37 )
2022-06-03 13:42:58 +02:00
Marten Seemann
50387915ba
add a timestamp to trace events ( #34 )
2022-06-01 07:08:25 -07:00
Gus Eggert
2e798e3cc5
release v0.3.0 ( #23 )
2022-04-21 15:05:08 -04:00
vyzo
3690eb4923
Merge pull request #21 from libp2p/feat/export-limiter-config
...
feat: export basic limiter config
2022-04-21 19:43:50 +03:00
Gus Eggert
302a7ea468
feat: export basic limiter config
...
This is to avoid extra complexity in consumers that expose this config
to users through other means or want to build the config
programmatically, but are currently required to redefine these structs
and keep them in sync. The coupling is already there, we might as well
export these structs and reduce maintenance costs.
2022-04-21 12:14:27 -04:00
vyzo
573ebeb147
Merge pull request #20 from libp2p/fix/config-err-msgs
...
fix: typos in config err msgs
2022-04-21 10:52:25 +03:00
Gus Eggert
9c55f3b55f
fix: typos in config err msgs
2022-04-19 06:55:40 -04:00
Marten Seemann
4682d9196b
release v0.2.1
2022-04-19 02:27:31 -07:00
Gus Eggert
bd73ae3052
fix: decode peer IDs from limits.json ( #19 )
2022-04-18 16:19:21 -04:00
Marten Seemann
c57f8eff05
release v0.2.0 ( #18 )
2022-04-10 11:37:41 -07:00
Marten Seemann
6e6735caf7
fix sign of delta of release_memory tracer event ( #16 )
2022-04-10 11:17:13 -07:00
Marten Seemann
7352c8b2e7
use a string for trace events ( #15 )
2022-04-08 12:20:32 -07:00
web3-bot
9bfb4f4646
sync: update CI config files ( #14 )
2022-04-04 16:57:46 +00:00
vyzo
5d529f6b1e
Merge pull request #13 from libp2p/release-v0.1.5
...
bump version to v0.1.5
2022-03-10 18:07:13 +02:00
vyzo
22fe917157
bump version to v0.1.5
2022-03-10 18:01:31 +02:00
vyzo
19c6790ce3
Merge pull request #12 from libp2p/feat/improve-debug-log
...
improve debug logging
2022-03-10 18:00:07 +02:00
vyzo
cad4a00100
improve debug logging
...
- include stat at point of rejection.
- log constraining edge at point of rejection to include the edge and its stat.
2022-03-10 17:51:09 +02:00
vyzo
0bf1f7df46
Merge pull request #11 from libp2p/feat/metrics
...
metrics collection support
2022-02-14 19:14:23 +02:00
vyzo
c845601936
bump version to v0.1.4
2022-02-14 19:04:49 +02:00
vyzo
55f8c59909
add Allow metrics
2022-02-14 17:20:12 +02:00
vyzo
4db2cad715
fix test
2022-02-12 13:59:50 +02:00
vyzo
8a85c1fbce
blocked memory reservation metrics
2022-02-12 13:59:46 +02:00
vyzo
019fe3da54
simplify metrics method names
2022-02-12 13:52:47 +02:00
vyzo
6d91069894
metrics collection support
2022-02-11 18:26:23 +02:00
vyzo
840c01c4ce
Merge pull request #10 from libp2p/release-v0.1.3
...
release v0.1.3
2022-02-03 18:59:03 +02:00
vyzo
385afdd9c2
release v0.1.3
2022-02-03 18:54:59 +02:00
vyzo
cd5903cfb7
Merge pull request #9 from libp2p/fix/nil-is-not-nil
...
avoid the nil is not nil footgun
2022-02-03 18:53:10 +02:00
vyzo
961bd2b66e
avoid the nil is not nil footgun
2022-02-03 08:51:08 +02:00
vyzo
fb6dc1ebda
Merge pull request #8 from libp2p/release-v0.1.2
...
release v0.1.2
2022-01-19 11:42:35 +02:00
vyzo
1e8077715b
release v0.1.2
2022-01-19 11:38:27 +02:00
vyzo
3c94e84813
Merge pull request #7 from libp2p/feat/sticky-limits
...
make protocols and peers sticky when setting their limit
2022-01-19 11:37:31 +02:00
vyzo
139296e625
make protocols and peers sticky when setting their limit
...
this is typically a user action, so prevent them from being garbage collected
and losing their limit.
2022-01-19 11:09:32 +02:00
vyzo
5c18887023
Merge pull request #6 from libp2p/release
...
release v0.1.1
2022-01-18 16:54:08 +02:00
vyzo
7d18d6f572
release v0.1.1
2022-01-18 16:51:34 +02:00
vyzo
8d6c5d0829
Merge pull request #5 from libp2p/fix/bug-log
...
downgrade BUG log to warning
2022-01-18 16:50:29 +02:00
vyzo
b3d09f9785
downgrade BUG log to warning
2022-01-18 16:42:54 +02:00
vyzo
9f6b01d336
Merge pull request #4 from libp2p/release
...
release v0.1.0
2022-01-17 13:14:31 +02:00
vyzo
dee6748e2e
release v0.1.0
2022-01-17 12:54:18 +02:00
vyzo
617d17d0f4
Merge pull request #1 from libp2p/implementation
...
Network Resource Manager Implementation
2022-01-17 12:51:26 +02:00
vyzo
7523ae4614
sort results in List* api methods
2022-01-17 12:33:01 +02:00
vyzo
859d2061ea
normalize limiter constructors
2022-01-17 12:33:01 +02:00
vyzo
9d5e7928e1
update README
2022-01-17 12:33:01 +02:00
vyzo
575eadee04
refactor limit defaults for easy access and user manipulation
2022-01-17 12:33:01 +02:00
vyzo
ddb39883f9
add limit config parsing unit test
2022-01-17 12:33:01 +02:00
vyzo
868c93bbd7
add limit json config parser
2022-01-17 12:33:01 +02:00