Clean up warnings (+fallback metrics) #685
No reviewers
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#685
Loading…
Reference in a new issue
No description provided.
Delete branch "Oneric/akkoma:metrics"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
All in all this cuts out ~20 lines of warnings from the startup of
mix phx.server
,mix test
, etcNow the final, fifth commit attempts to provide fallbacks for the unavailable summary metrics. I’m not too familiar with Prometheus/Grafana/... so my assumption of
sum
+counter
being a useful substitute may be off. Feel free to adjust or just drop this commit if you think it’s flawed or not worth the effortall looks good, and works locally, thanks!
so i don't leave the question hanging for anyone that looks at this in the future
it should be close enough and it looked ok on my dash
if anyone notices it being weird, ping this issue and we'll look at it again