flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-4246) Allow Specifying Multiple Metrics Reporters
Date Fri, 22 Jul 2016 13:49:20 GMT

    [ https://issues.apache.org/jira/browse/FLINK-4246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15389524#comment-15389524
] 

ASF GitHub Bot commented on FLINK-4246:
---------------------------------------

Github user zentol commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2285#discussion_r71881022
  
    --- Diff: docs/apis/metrics.md ---
    @@ -227,14 +227,25 @@ or by assigning unique names to jobs and operators.
     
     ## Reporter
     
    -Metrics can be exposed to an external system by configuring a reporter in `conf/flink-conf.yaml`.
    -
    -- `metrics.reporter.class`: The class of the reporter to use.
    -  - Example: org.apache.flink.metrics.reporter.JMXReporter
    -- `metrics.reporter.arguments`: A list of named parameters that are passed to the reporter.
    -  - Example: --host localhost --port 9010
    -- `metrics.reporter.interval`: The interval between reports.
    -  - Example: 10 SECONDS
    +Metrics can be exposed to an external system by configuring a one or several reporters
in `conf/flink-conf.yaml`.
    +
    +- `metrics.reporters`: The list of named reporters, i.e. "foo,bar".
    +- `metrics.reporter.<name>.<config>`: Generic setting `<config>` for
the reporter named `<name>`.
    +- `metrics.reporter.<name>.class`: The reporter class to use for the reporter named
`<name>`.
    +- `metrics.reporter.<name>.interval`: The reporter interval to use for the reporter
named `<name>`.
    +
    +All reporters must at least have the `class` config, some allow specifying a reporting
`interval`. Bellow,
    +we will list more settings specific to each reporter.
    +
    +Example reporter configuration for using the built-in JMX reporter:
    +
    +```
    +metrics.reporters: my_jmx_reporter
    --- End diff --
    
    i think we should show the configuration for multiple reporters


> Allow Specifying Multiple Metrics Reporters
> -------------------------------------------
>
>                 Key: FLINK-4246
>                 URL: https://issues.apache.org/jira/browse/FLINK-4246
>             Project: Flink
>          Issue Type: Improvement
>          Components: Metrics
>    Affects Versions: 1.1.0
>            Reporter: Aljoscha Krettek
>            Assignee: Aljoscha Krettek
>             Fix For: 1.1.0
>
>
> We should allow specifying multiple reporters. A rough sketch of how the configuration
should look like is this:
> {code}
> metrics.reporters = foo,bar
> metrics.reporter.foo.class = JMXReporter.class
> metrics.reporter.foo.port = 42-117
> metrics.reporter.bar.class = GangliaReporter.class
> metrics.reporter.bar.port = 512
> metrics.reporter.bar.whatever = 2
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message