Repository navigation
Stage 6: Grafana dashboard, Caddyfile.example, README - #6
Merged
Merged
Conversation
…aise it to 1200/min
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stage 6: Grafana dashboard,
Caddyfile.exampleand the full README in both languages.Changes
Caddyfile.example:caddy-ratelimitv0.1.0 (1200 requests/min per client IP;/static/*and/assets/*are not counted) andcaddy-crowdsec-bouncerv0.14.1.Serverheader removed, zstd/gzip./metricsand/reindex(and their subpaths) return 404./assets/*served fromvault/assets/with the extension allowlist,nosniffand the sandbox CSP./api/*.grafana/hyperhack.json: dashboard with a data source variable and a post variable. Rows:README.mdandREADME.ru.md, covering:/reindex;Caddyfile.example) andTRUSTED_PROXIES;readme_test.go: fails if the Caddy block inREADME.mdorREADME.ru.mddiffers fromCaddyfile.example.Tested
The test stack was the app image built from
main, a custom Caddy build with both plugins, VictoriaMetrics v1.155.0 and Grafana 13.2.5.caddy validateandcaddy fmtpass onCaddyfile.example./metrics,/METRICS,/%6detrics,/metrics/x,/api/../metrics, andPOST /reindex//ReIndex./assets/x.htmland/assets/return 404..hyperhack.jsonis not reachable./api/beaconbody returns 413.127.0.0.1published-port traffic is the Docker network gateway. That is what the README'sTRUSTED_PROXIESinstructions are based on.readme_test.gopasses and fails on a one-character change in the Russian README block.go test -race.Not tested
caddy validate).