8000 fix traffic accounting in internal statistics / metrics by jsteemann · Pull Request #17654 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

fix traffic accounting in internal statistics / metrics #17654

New issue

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

8000
Merged
merged 7 commits into from
Nov 28, 2022

Conversation

jsteemann
Copy link
Contributor

Scope & Purpose

Backport of #17651

Fix traffic accounting for HTTP/VST in internal statistics / metrics.
Outgoing VST traffic was not accounted for previously.
Additionally, the traffic was not accounted for the request that initiates a protocol change from HTTP/1.1 to HTTP/2.
Finally, the metrics histograms that summed up traffic were not correctly reporting values since 3.10.

For consistency, this PR also adds a new metrics arangodb_http1_connections_total, which counts the number of HTTP/1.1 connections. There were previously only metrics for HTTP/2 and VST connections.

  • 💩 Bugfix
  • 🍕 New feature
  • 🔥 Performance improvement
  • 🔨 Refactoring/simplification

Checklist

Related Information

  • Docs PR:
  • Enterprise PR:
  • GitHub issue / Jira ticket:
  • Design document:

Copy link
Member
@neunhoef neunhoef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jsteemann jsteemann marked this pull request as ready for review November 25, 2022 15:07
@jsteemann
Copy link
Contributor Author

Jenkins run (not automatically picked up): https://jenkins.arangodb.biz/view/PR/job/arangodb-matrix-pr/25935/

@KVS85 KVS85 merged commit ca7ac5e into 3.8 Nov 28, 2022
@KVS85 KVS85 deleted the bug-fix-3.8/fix-traffic-accounting branch November 28, 2022 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0