You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2023/01/18 01:50:20 UTC
[GitHub] [dubbo] fomeiherz opened a new issue, #11321: Add metrics naming convention
fomeiherz opened a new issue, #11321:
URL: https://github.com/apache/dubbo/issues/11321
## Describe the proposal
[Prometheus naming](https://prometheus.io/docs/practices/naming/)
### Step 1: add [base-units](https://prometheus.io/docs/practices/naming/#base-units)
- Time: suffix with `seconds`, such as `dubbo.rt.qps.seconds`
- Length: meters
- Bytes: bytes
...
### Step 2: add suffix by metrics type
- Counter: suffix with `total`, such as `dubbo.rt.requests.total`
### Step 3: add other suffix
- The num of metrics: `count`, such as `dubbo.rt.seconds.count`
- Summary value: `sum`, such as `dubbo.rt.seconds.sum`
- Minimum value: `min`, such as `dubbo.rt.seconds.min`
- Maximum value: `max`, such as `dubbo.rt.seconds.max`
- Average value: `avg`, such as `dubbo.rt.seconds.avg`
- P99 value: `avg`, such as `dubbo.rt.seconds.p99`
- P95 value: `avg`, such as `dubbo.rt.seconds.p95`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo] fomeiherz commented on issue #11321: Add metrics naming convention for prometheus
Posted by GitBox <gi...@apache.org>.
fomeiherz commented on issue #11321:
URL: https://github.com/apache/dubbo/issues/11321#issuecomment-1386448008
> 可以区分下场景,比如dubbo.registry. , dubbo.thread.
dubbo.thread 这个使用在哪个场景?我补充到文档上
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo] jojocodeX commented on issue #11321: Add metrics naming convention for prometheus
Posted by GitBox <gi...@apache.org>.
jojocodeX commented on issue #11321:
URL: https://github.com/apache/dubbo/issues/11321#issuecomment-1386381922
可以区分下场景,比如dubbo.registry. , dubbo.thread.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo] jojocodeX commented on issue #11321: Add metrics naming convention for prometheus
Posted by GitBox <gi...@apache.org>.
jojocodeX commented on issue #11321:
URL: https://github.com/apache/dubbo/issues/11321#issuecomment-1386524727
> 可以区分下场景,比如dubbo.registry. , dubbo.thread.
> I change title "for prometheus".
>
> 我修改了标题加上了 prometheus
> > 可以区分下场景,比如dubbo.registry. , dubbo.thread.
>
> dubbo.thread 这个使用在哪个场景?我补充到文档上
不同场景下的一种区分,比如 provider, dubbo.provider,类似
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo] fomeiherz commented on issue #11321: Add metrics naming convention for prometheus
Posted by GitBox <gi...@apache.org>.
fomeiherz commented on issue #11321:
URL: https://github.com/apache/dubbo/issues/11321#issuecomment-1386355215
I change title "for prometheus".
我修改了标题加上了 prometheus
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo] songxiaosheng commented on issue #11321: Add metrics naming convention
Posted by GitBox <gi...@apache.org>.
songxiaosheng commented on issue #11321:
URL: https://github.com/apache/dubbo/issues/11321#issuecomment-1386351610
It can be distinguished between the lower dubbo buried point specification and the Prometheus buried point specification, such as the second
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org