You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Evgeniy Shishkin <it...@gmail.com> on 2015/02/12 16:21:38 UTC
kafka jmxtrans config
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?
Re: kafka jmxtrans config
Posted by Evgeniy Shishkin <it...@gmail.com>.
Hmm,
i think the problem is in
> 'typeNames' => ['name'],
it should be 'typeNames' => ['topic'],
>
> On 12 Feb 2015, at 19:04, Evgeniy Shishkin <it...@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 <it...@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?
>>>
>>>
>>
>
Re: kafka jmxtrans config
Posted by Evgeniy Shishkin <it...@gmail.com>.
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 <it...@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?
>>
>>
>
Re: kafka jmxtrans config
Posted by Andrew Otto <ao...@wikimedia.org>.
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 <it...@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?
>
>