Hmm,

i think the problem is in
>        'typeNames'     => ['name'],

it should be   'typeNames'     => ['topic'],


> 
> On 12 Feb 2015, at 19:04, Evgeniy Shishkin <itparan...@gmail.com> wrote:
> 
> Yeah, i want this, but for 0.8.2 =\
> Specifically, how to discover per topic BrokerTopicMetrics
> 
> Code
>    {
>        'name'          => 
> 'kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec,topic=*',
>        'resultAlias'   => 
> 'kafka.server.BrokerTopicMetrics.TopicMessagesInPerSec',
>        'typeNames'     => ['name'],
>        'attrs'         => {
>          'Count'             => { 'slope' => 'positive' },
>          'FifteenMinuteRate' => { 'slope' => 'both'     },
>          'FiveMinuteRate'    => { 'slope' => 'both'     },
>          'OneMinuteRate'     => { 'slope' => 'both'     },
>          'MeanRate'          => { 'slope' => 'both'     },
>        },
>      }
> 
> doesn't work
> 
> 
>> On 12 Feb 2015, at 18:46, Andrew Otto <ao...@wikimedia.org> wrote:
>> 
>> Hm, I’m sure how long ago the kafka jmxtrans example has been updated on the 
>> puppet-jmxtrans module.
>> 
>> Wikimedia is currently using Kafka 0.8.1.1 with this puppet module’s 
>> jmxtrans setup:
>> 
>> https://github.com/wikimedia/puppet-kafka/blob/master/manifests/server/jmxtrans.pp
>> 
>> 
>>> On Feb 12, 2015, at 10:21, Evgeniy Shishkin <itparan...@gmail.com> wrote:
>>> 
>>> Hello, 
>>> 
>>> after upgrading to 0.8.2 with reworked jmx beans, i have problem adapting 
>>> https://github.com/wikimedia/puppet-jmxtrans config.
>>> 
>>> Can anyone share their adjusted $jmx_kafka_objects for 0.8.2?
>>> 
>>> 
>> 
> 

Reply via email to