Marco Munizaga
ba3117d550
Merge pull request #72 from libp2p/marco/record-block-resource-dir
Record which direction the resource was blocked
2 years ago
Marco Munizaga
a32c7a308d
Add size hint to slice to hopefully have the tag slice allocated on the stack
2 years ago
Marco Munizaga
562d88fda0
Merge pull request #73 from libp2p/marco/grafana-aggregate-mem-stats-across-all-instances
Simplify mem graphs in stock grafana dashboard
2 years ago
Marco Munizaga
54eff3d226
Simplify memory graphs in stock grafana dashboard
2 years ago
Marco Munizaga
0c240c1482
Record which direction the resource was blocked
2 years ago
Marco Munizaga
6a2fd1bcdf
Merge pull request #70 from libp2p/marco/grafana-multiple-instances
feat: Handle multiple instances in stock grafana dashboard
2 years ago
Marco Munizaga
55a7225b8e
Handle multiple instances in metrics
2 years ago
Marco Munizaga
40d71c4cd7
Merge pull request #69 from libp2p/marco/update-grafana-json
Use templated version of grafana dashboard json
2 years ago
Marco Munizaga
728a72c53f
Use templated version of grafana dashboard json
2 years ago
Marco Munizaga
5ba3f917c6
Merge pull request #67 from libp2p/marco-marshal-limit-config-properly
Implement `json.Marshaler` interface for LimitConfig
2 years ago
Marco Munizaga
369cc5e2d7
Implement `json.Marshaler` interface for LimitConfig
2 years ago
Marco Munizaga
a0be99e856
Merge pull request #65 from libp2p/marco-fix-trace-close
Don't wait for a chan that will never close
2 years ago
Marco Munizaga
392771eb4d
Don't wait for a chan that will never close
2 years ago
Marco Munizaga
9176f635f3
Merge pull request #63 from libp2p/marco/docs-and-expose-allowlist
Add docs around WithAllowlistedMultiaddrs. Expose allowlist
2 years ago
Marco Munizaga
0a1e1ea783
Update allowlist_test.go
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2 years ago
Marco Munizaga
50c7eb7b6a
Add docs around WithAllowlistedMultiaddrs. Expose allowlist
2 years ago
Marco Munizaga
f1e381d883
Merge pull request #62 from libp2p/fix-allowlist-marshalling
fix marshalling of allowlisted scopes
2 years ago
Marten Seemann
9036147b20
fix marshalling of allowlisted scopes
2 years ago
Marten Seemann
ceb8e339ae
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>
2 years ago
Marten Seemann
e5db55043b
don't limit the number of FDs on Windows ( #58 )
2 years ago
Marco Munizaga
c2b0eb05e9
Merge pull request #57 from libp2p/marco/allowlist-config
Add ability to configure allowlist limits
2 years ago
Marco Munizaga
0d6589e7c8
Update limit_defaults.go
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2 years ago
Marco Munizaga
77aebd5d97
Fix less check on my machine
2 years ago
Marco Munizaga
976187f49b
Add allowlist limit config option
2 years ago
Marten Seemann
17faef4faf
Merge pull request #48 from libp2p/rework-limits
rewrite limits to allow auto-scaling
2 years ago
Marten Seemann
d21aa7c3ed
expose BaseLimitIncrease.Apply
2 years ago
Marten Seemann
85ba429584
log the values that the limiter is initialized with
2 years ago
Marten Seemann
bc5e1920b9
reimplement parsing of JSON limit configs
2 years ago
Marten Seemann
62aa2a75ed
add a function to automatically scale limits to system memory / FDs
2 years ago
Marten Seemann
1b82fba549
implement scaling of limits
2 years ago
Marten Seemann
616be72684
remove support for dynamic limits
2 years ago
Marten Seemann
bf0b7582e2
remove support for parsing limit configs from JSON
2 years ago
Marco Munizaga
290ca99a75
Merge pull request #54 from libp2p/marco/50-obs
feat: Out of the box metrics for resource manager
2 years ago
Marco Munizaga
90a31e0c95
Fix go vet issue
2 years ago
Marco Munizaga
c27b0df908
Remove unused var
2 years ago
Marco Munizaga
8450852ee9
Update help text
2 years ago
Marco Munizaga
e5140e1804
Don't add reporter twice
2 years ago
Marco Munizaga
cc577a0a96
Rewrite constants to be more obvious
2 years ago
Marco Munizaga
9f99e288be
Filter out spans
2 years ago
Marco Munizaga
bf2964542f
Unexport tag names, remove unused var
2 years ago
Marco Munizaga
3957877fe7
Use bytes rather than decbytes (power of 2)
2 years ago
Marco Munizaga
0ea2e3364f
Update bucket distribution and blocked resources
2 years ago
Marco Munizaga
faef8c2251
Update dashboard blocked resources
2 years ago
Marco Munizaga
93dc6726ce
Update dashboard json
2 years ago
Marco Munizaga
08b596606e
Fix merge conflicts
2 years ago
Marco Munizaga
67d3e5c933
Add Grafana dashboard
2 years ago
Marco Munizaga
2fe978aaa1
Remove connid from scopename in blocked conns
2 years ago
Marco Munizaga
007d9d59fc
Revert "Add multimetrics reporter"
This reverts commit 81fb49d3d68153b610b245d6f730f4d6b34b3706.
2 years ago
Marco Munizaga
f44c86d87b
Add obs to resource manager
2 years ago
Marco Munizaga
cd177ba571
Add scope name helpers
2 years ago