Skip to content
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

Fix data received/sent metrics for HTTP #272

Merged
merged 1 commit into from
Jun 30, 2017

Conversation

jpallari
Copy link
Contributor

Data received and sent metrics were not collected for HTTP requests.
This is because the DialContext method required a non-pointer receiver,
which meant that the BytesRead and BytesWritten references were not
carried to the connection created from the Dialer.

Data received and sent metrics were not collected for HTTP requests.
This is because the DialContext method required a non-pointer receiver,
which meant that the BytesRead and BytesWritten references were not
carried to the connection created from the Dialer.
@liclac
Copy link
Contributor

liclac commented Jun 30, 2017

Oshit, good catch!

@liclac liclac merged commit 2a4d8f3 into grafana:master Jun 30, 2017
@jpallari jpallari deleted the feature/fix-data-metrics branch July 1, 2017 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants