You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/01/20 19:09:27 UTC
[GitHub] [pulsar] klevy-toast opened a new issue #13863: Add ability to disable statistics reporting at namespace level
klevy-toast opened a new issue #13863:
URL: https://github.com/apache/pulsar/issues/13863
**Is your enhancement request related to a problem? Please describe.**
In our pulsar cluster, we are running into issues due to the number of metrics being reported. We would like to disable the `exposeTopicLevelMetricsInPrometheus` setting for a subset of our topics that have many subscriptions, but keep it on for other topics where we need those statistics. Currently, this can only be configured in `broker.conf` as a global setting.
**Describe the solution you'd like**
Add new namespace settings to configure statistic generation, like:
- `pulsar-admin namespaces enable-stats topic <namespace>`
- `pulsar-admin namespaces disable-stats consumer <namespace>`
- also allow configuration of `producer`, `managed-ledger`, `managed-cursor`
If the metric is disabled in `broker.conf`, then enabling it at a namespace level will _not_ override that. The namespace-level flags will default to enabled, so that it defaults to however `broker.conf` is set.
**Describe alternatives you've considered**
- This flag could also be configured at the tenant level. It doesn't seem like there are many tenant-level flags though.
- The settings could be removed from `broker.conf` and only be configured at the namespace/tenant level. This may cause issues with backwards compatibility.
**Additional context**
Add any other context or screenshots about the feature request here.
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] klevy-toast closed issue #13863: Add ability to disable statistics reporting at namespace level
Posted by GitBox <gi...@apache.org>.
klevy-toast closed issue #13863:
URL: https://github.com/apache/pulsar/issues/13863
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] klevy-toast commented on issue #13863: Add ability to disable statistics reporting at namespace level
Posted by GitBox <gi...@apache.org>.
klevy-toast commented on issue #13863:
URL: https://github.com/apache/pulsar/issues/13863#issuecomment-1030190167
I believe I've found a workaround for my use-case
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] klevy-toast commented on issue #13863: Add ability to disable statistics reporting at namespace level
Posted by GitBox <gi...@apache.org>.
klevy-toast commented on issue #13863:
URL: https://github.com/apache/pulsar/issues/13863#issuecomment-1018565645
@gaozhangmin I do not intend to implement it with those alternatives.. they were simply alternatives to consider. I plan to implement it on the namespace level, without removing it from broker.conf
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] gaozhangmin commented on issue #13863: Add ability to disable statistics reporting at namespace level
Posted by GitBox <gi...@apache.org>.
gaozhangmin commented on issue #13863:
URL: https://github.com/apache/pulsar/issues/13863#issuecomment-1018120438
Two doubles?
1、Why you need config it at tenant level?
2、why you want remove from broker.conf?
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] liangyuanpeng commented on issue #13863: Add ability to disable statistics reporting at namespace level
Posted by GitBox <gi...@apache.org>.
liangyuanpeng commented on issue #13863:
URL: https://github.com/apache/pulsar/issues/13863#issuecomment-1029192775
It is possible to ignore this metrics when get the metrics, like relabel in 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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org