<!--  Thanks for sending a pull request! 
-->

**What this PR does**:
I try to build the metric mechanism according to the java-dubbo's metric 
mechanism. But the metric module is complicated.
So I will implement the metric module in steps:
1. Build the metric filter to collect the method count and method rt data: in 
this step, the major interfaces like MetricManager, MetricRegistry, Metric are 
defined and the default implementations are provided;
2. Using `Prometheus ` to collect the data of method count and method rt;
3. Implements more data, like Counter, Meter, Gauge, Timer, Histogram... And 
use the Prometheus to collect them;
4. Try to support more instrumentation, like Zipkin, open tracing... 
5. After we finish step 3, the BBR rate limit also could be implemented.

Now this PR finished step1.

**Which issue(s) this PR fixes**:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
_If PR is about `failing-tests or flakes`, please post the related issues/tests 
in a comment and do not use `Fixes`_*
-->
Fixes #

**Special notes for your reviewer**:

**Does this PR introduce a user-facing change?**:
<!--
If no, just write "NONE" in the release-note block below.
If yes, a release note is required:
Enter your extended release note in the block below. If the PR requires 
additional action from users switching to the new release, include the string 
"action required".
-->
```release-note

```

[ Full content available at: https://github.com/apache/dubbo-go/pull/278 ]
This message was relayed via gitbox.apache.org for 
[email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to