You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Max Xie (Jira)" <ji...@apache.org> on 2022/02/18 09:24:00 UTC

[jira] [Updated] (HDFS-16459) RBF: register RBFMetrics in MetricsSystem for promethuessink

     [ https://issues.apache.org/jira/browse/HDFS-16459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max  Xie updated HDFS-16459:
----------------------------
    Description: 
Router' RBFMetrics was not register  in MetricsSystem. We can't find these metrics from PrometheusSink. Maybe we should fix it. 

 

After fix it ,  some  RBFMetrics will export like this 
{code:java}
# HELP rbf_metrics_current_tokens_count Number of router's current tokens
# TYPE rbf_metrics_current_tokens_count gauge
rbf_metrics_current_tokens_count{processname="Router",context="dfs",hostname="xxxx"} 2 {code}

  was:
Router' RBFMetrics was not register  in MetricsSystem. We can't find these metrics from PrometheusSink. Maybe we should fix it. 

 

After fix it ,  some  RBFMetrics will export like this 

```

# HELP rbf_metrics_current_tokens_count Number of router's current tokens # TYPE rbf_metrics_current_tokens_count gauge rbf_metrics_current_tokens_count\{processname="Router",context="dfs",hostname="xxx"} 123

``` 


> RBF: register RBFMetrics in MetricsSystem for promethuessink
> ------------------------------------------------------------
>
>                 Key: HDFS-16459
>                 URL: https://issues.apache.org/jira/browse/HDFS-16459
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: rbf
>    Affects Versions: 3.4.0
>            Reporter: Max  Xie
>            Assignee: Max  Xie
>            Priority: Minor
>
> Router' RBFMetrics was not register  in MetricsSystem. We can't find these metrics from PrometheusSink. Maybe we should fix it. 
>  
> After fix it ,  some  RBFMetrics will export like this 
> {code:java}
> # HELP rbf_metrics_current_tokens_count Number of router's current tokens
> # TYPE rbf_metrics_current_tokens_count gauge
> rbf_metrics_current_tokens_count{processname="Router",context="dfs",hostname="xxxx"} 2 {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org