We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add prometheus metrics (prefixed with csp_) for:
csp_
violation_reports_total
version_info
Labels if the report is valid:
document_uri
blocked_uri
violated_directive
original_policy
line_number
state="valid"
Labels if the report is invalid:
state=invalid
reason=~"(empty|non-json|non-csp)"
The text was updated successfully, but these errors were encountered:
#5 Add prometheus metrics
46b8fb2
Implemented two metrics for violation reports:
csp_invalid_violation_reports_total
csp_valid_violation_reports_total
For the invalid reports, added the reason too-large as well, for when MAX_CONTENT_LENGTH is reached
too-large
MAX_CONTENT_LENGTH
Sorry, something went wrong.
d394818
Merge branch '5-prometheus-metrics' into 'master'
faea494
#5 Add prometheus metrics See merge request ix.ai/csp!7
Closed by faea494
tlex
No branches or pull requests
Add prometheus metrics (prefixed with
csp_
) for:violation_reports_total
)version_info
)Labels if the report is valid:
document_uri
blocked_uri
violated_directive
original_policy
line_number
state="valid"
Labels if the report is invalid:
state=invalid
reason=~"(empty|non-json|non-csp)"
The text was updated successfully, but these errors were encountered: