Marco Munizaga
18951db670
Use templated version of grafana dashboard json
2022-07-07 15:24:59 -07:00
Marco Munizaga
51226e5b6c
Merge pull request #66 from libp2p/MarcoPolo-patch-2
...
Release v0.5.1
2022-07-07 07:47:57 -07:00
Marco Munizaga
91ca49a13d
Merge pull request #67 from libp2p/marco-marshal-limit-config-properly
...
Implement `json.Marshaler` interface for LimitConfig
2022-07-07 07:25:18 -07:00
Marco Munizaga
575805d475
Implement json.Marshaler
interface for LimitConfig
2022-07-06 11:48:12 -07:00
Marco Munizaga
0edd128310
Release v0.5.1
2022-07-06 10:58:25 -07:00
Marco Munizaga
9b2aa9d908
Merge pull request #65 from libp2p/marco-fix-trace-close
...
Don't wait for a chan that will never close
2022-07-06 10:57:55 -07:00
Marco Munizaga
09011ebc78
Don't wait for a chan that will never close
2022-07-06 10:01:46 -07:00
Marco Munizaga
fe31993a76
Merge pull request #60 from libp2p/release-v050
...
release v0.5.0
2022-07-03 09:30:46 -07:00
Marco Munizaga
fd40cdbc2d
Merge pull request #63 from libp2p/marco/docs-and-expose-allowlist
...
Add docs around WithAllowlistedMultiaddrs. Expose allowlist
2022-07-03 09:30:15 -07:00
Marco Munizaga
68b2dcdbf8
Update allowlist_test.go
...
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2022-07-03 09:27:18 -07:00
Marco Munizaga
65deaac7da
Add docs around WithAllowlistedMultiaddrs. Expose allowlist
2022-07-03 07:52:09 -07:00
Marco Munizaga
b2c739f8ec
Merge pull request #62 from libp2p/fix-allowlist-marshalling
...
fix marshalling of allowlisted scopes
2022-07-03 07:24:05 -07:00
Marten Seemann
991d712456
fix marshalling of allowlisted scopes
2022-07-03 12:10:04 +02:00
Marten Seemann
620dd3a44a
release v0.5.0
2022-07-03 02:52:38 -07:00
Marten Seemann
df257cee0c
docs: describe how the limiter is configured, and how limits are scaled ( #59 )
...
* docs: describe how the limiter is configured, and how limits are scaled
* Apply suggestions from code review
Co-authored-by: Marco Munizaga <marco@marcopolo.io>
Co-authored-by: Marco Munizaga <marco@marcopolo.io>
2022-07-03 02:52:01 -07:00
Marten Seemann
9320db8806
don't limit the number of FDs on Windows ( #58 )
2022-07-03 10:01:04 +02:00
Marco Munizaga
f704ffd0f1
Merge pull request #57 from libp2p/marco/allowlist-config
...
Add ability to configure allowlist limits
2022-07-02 15:59:44 -07:00
Marco Munizaga
114d22bd29
Update limit_defaults.go
...
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2022-07-02 15:50:38 -07:00
Marco Munizaga
3a9ac22a9f
Fix less check on my machine
2022-07-02 15:18:53 +02:00
Marco Munizaga
eb72b52bd8
Add allowlist limit config option
2022-07-02 15:18:52 +02:00
Marten Seemann
d0a1694030
Merge pull request #48 from libp2p/rework-limits
...
rewrite limits to allow auto-scaling
2022-07-02 06:14:47 -07:00
Marten Seemann
7ceb0b850c
expose BaseLimitIncrease.Apply
2022-07-02 11:39:28 +02:00
Marten Seemann
df93b499a4
log the values that the limiter is initialized with
2022-07-02 11:39:27 +02:00
Marten Seemann
1e2500707d
reimplement parsing of JSON limit configs
2022-07-02 11:39:22 +02:00
Marten Seemann
83465e5846
add a function to automatically scale limits to system memory / FDs
2022-07-02 11:38:38 +02:00
Marten Seemann
33bc8a8560
implement scaling of limits
2022-07-02 11:38:35 +02:00
Marten Seemann
7fbc5d29a3
remove support for dynamic limits
2022-07-02 11:27:16 +02:00
Marten Seemann
4d634e5e53
remove support for parsing limit configs from JSON
2022-07-02 11:27:15 +02:00
Marco Munizaga
caabeaca0d
Merge pull request #56 from libp2p/MarcoPolo-patch-2
...
Release v0.4.0
2022-07-01 13:28:33 -07:00
Marco Munizaga
3bc0aa47e9
Release v0.4.0
2022-07-01 12:47:44 -07:00
Marco Munizaga
b8369c616d
Merge pull request #54 from libp2p/marco/50-obs
...
feat: Out of the box metrics for resource manager
2022-07-01 12:33:44 -07:00
Marco Munizaga
836d53a98d
Fix go vet issue
2022-07-01 12:02:11 -07:00
Marco Munizaga
0f3804229e
Remove unused var
2022-07-01 12:02:11 -07:00
Marco Munizaga
ccb0c4dd90
Update help text
2022-07-01 12:02:11 -07:00
Marco Munizaga
662c094201
Don't add reporter twice
2022-07-01 12:02:11 -07:00
Marco Munizaga
ac716c1bf3
Rewrite constants to be more obvious
2022-07-01 12:02:11 -07:00
Marco Munizaga
5abae10710
Filter out spans
2022-07-01 12:02:11 -07:00
Marco Munizaga
e70da09acb
Unexport tag names, remove unused var
2022-07-01 12:02:11 -07:00
Marco Munizaga
6d5898aa99
Use bytes rather than decbytes (power of 2)
2022-07-01 12:02:11 -07:00
Marco Munizaga
d34b9cba64
Update bucket distribution and blocked resources
2022-07-01 12:02:11 -07:00
Marco Munizaga
04e10885af
Update dashboard blocked resources
2022-07-01 12:02:11 -07:00
Marco Munizaga
bc012d37ff
Update dashboard json
2022-07-01 12:02:11 -07:00
Marco Munizaga
04b17931b0
Fix merge conflicts
2022-07-01 12:02:11 -07:00
Marco Munizaga
c9413d7320
Add Grafana dashboard
2022-07-01 12:02:11 -07:00
Marco Munizaga
2385a33f55
Remove connid from scopename in blocked conns
2022-07-01 12:02:11 -07:00
Marco Munizaga
1c172ace77
Revert "Add multimetrics reporter"
...
This reverts commit 81fb49d3d68153b610b245d6f730f4d6b34b3706.
2022-07-01 12:02:11 -07:00
Marco Munizaga
3a06e88227
Add dep to go.mod/sum
2022-07-01 12:02:10 -07:00
Marco Munizaga
19b6d584b2
Add obs to resource manager
2022-07-01 12:01:45 -07:00
Marco Munizaga
7efd81c617
Add scope name helpers
2022-07-01 12:01:43 -07:00
Marco Munizaga
9ce3760d70
Flip sign of delta
2022-07-01 12:00:28 -07:00