Skip to content

add updateRates method for kop to collect publish rate#9049

Merged
codelipenghui merged 1 commit intoapache:masterfrom
dockerzhang:collect-rate
Dec 25, 2020
Merged

add updateRates method for kop to collect publish rate#9049
codelipenghui merged 1 commit intoapache:masterfrom
dockerzhang:collect-rate

Conversation

@dockerzhang
Copy link
Copy Markdown
Contributor

Fixes #9048

Motivation

kop & pulsar use the same metrics collector, but kop can't collect publish rate now.
streamnative/kop#284

Modifications

add updateRates method for kop to collect publish rate

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end deployment with large payloads (10MB)
  • Extended integration test for recovery after broker failure

@dockerzhang
Copy link
Copy Markdown
Contributor Author

/pulsarbot run-failure-checks

@sijie sijie added this to the 2.8.0 milestone Dec 24, 2020
@codelipenghui codelipenghui merged commit ccc3620 into apache:master Dec 25, 2020
codelipenghui pushed a commit that referenced this pull request Jan 7, 2021
Fixes #9048 

### Motivation
kop & pulsar use the same metrics collector, but kop can't collect publish rate now.
streamnative/kop#284

### Modifications

add `updateRates` method for kop to collect publish rate

(cherry picked from commit ccc3620)
@codelipenghui codelipenghui added the cherry-picked/branch-2.7 Archived: 2.7 is end of life label Jan 7, 2021
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.

add updateRates method for kop to collect publish rate

3 participants