Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Instance write buffer metrics #676

Closed

Conversation

mateusduboli
Copy link
Contributor

@mateusduboli mateusduboli commented Oct 31, 2018

A Pull Request should be associated with an Issue.

Related issue: #113

Description

This is the rebased version of #146, it:

  • Adds fixed collection names to avoid errors when creating new ones

  • Adds a write-buffer collection to store individual write-buffer counters to be either aggregated or exposed in raw format

  • Adds endpoints to metrics/instance-write-buffer/{raw,aggregated}/:seconds

  • Updates go-metrics to the latest commit (3113b8401b8a98917cde58f8bbd42a1b1c03b1fd)

  • contributed code is using same conventions as original code

  • code is formatted via gofmt (please avoid goimports)

  • code is built via ./build.sh

  • code is tested via go test ./go/...

sjmudd and others added 5 commits October 31, 2018 15:52
Add the following api calls
* /api/instance-buffered-write-metrics-raw/:seconds
* /api/instance-buffered-write-metrics-aggregated/:seconds
* also change collection name strings to constants
@mateusduboli
Copy link
Contributor Author

I'm upgrading the go-metrics in this, PR but it's just because my code only works on the latest version of the library, I can move this upgrade to another PR if it the changes are good

@mateusduboli mateusduboli mentioned this pull request Nov 1, 2018
4 tasks
@luisyonaldo luisyonaldo mentioned this pull request Aug 19, 2019
4 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants