Skip to content

Commit

Permalink
Move jolokia metricsets to their own input
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoriano committed May 11, 2020
1 parent 22af451 commit 957e299
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 33 deletions.
@@ -1,6 +1,6 @@
metricsets: ["broker"]
period: {{period}}
hosts:
{{#each jolokia_hosts}}
{{#each hosts}}
- {{this}}
{{/each}}
2 changes: 1 addition & 1 deletion dev/packages/alpha/kafka/0.0.2/dataset/broker/manifest.yml
Expand Up @@ -2,6 +2,6 @@ title: Kafka broker metrics
release: experimental
type: metrics
streams:
- input: kafka/metrics
- input: kafka_jolokia/metrics
title: Kafka broker metrics
description: Collect Kafka broker metrics
@@ -1,6 +1,6 @@
metricsets: ["consumer"]
period: {{period}}
hosts:
{{#each jolokia_hosts}}
{{#each hosts}}
- {{this}}
{{/each}}
Expand Up @@ -2,6 +2,6 @@ title: Kafka consumer metrics
release: experimental
type: metrics
streams:
- input: kafka/metrics
- input: kafka_jolokia/metrics
title: Kafka consumer metrics
description: Collect Kafka consumer metrics
12 changes: 0 additions & 12 deletions dev/packages/alpha/kafka/0.0.2/dataset/consumergroup/manifest.yml
Expand Up @@ -5,15 +5,3 @@ streams:
- input: kafka/metrics
title: Kafka consumergroup metrics
description: Collect Kafka consumergroup metrics
vars:
- name: topics
type: text
title: List of topics to query metrics for
multi: true
show_user: true
- name: username
type: text
title: SASL username
- name: password
type: password
title: SASL password
12 changes: 0 additions & 12 deletions dev/packages/alpha/kafka/0.0.2/dataset/partition/manifest.yml
Expand Up @@ -5,15 +5,3 @@ streams:
- input: kafka/metrics
title: Kafka partition metrics
description: Collect Kafka partition metrics
vars:
- name: topics
type: text
title: List of topics to query metrics for
multi: true
show_user: true
- name: username
type: text
title: SASL username
- name: password
type: password
title: SASL password
@@ -1,6 +1,6 @@
metricsets: ["producer"]
period: {{period}}
hosts:
{{#each jolokia_hosts}}
{{#each hosts}}
- {{this}}
{{/each}}
Expand Up @@ -2,6 +2,6 @@ title: Kafka producer metrics
release: experimental
type: metrics
streams:
- input: kafka/metrics
- input: kafka_jolokia/metrics
title: Kafka producer metrics
description: Collect Kafka producer metrics
45 changes: 42 additions & 3 deletions dev/packages/alpha/kafka/0.0.2/manifest.yml
Expand Up @@ -50,11 +50,44 @@ datasources:
show_user: true
default:
- 'localhost:9092'
- name: jolokia_hosts
- name: period
type: text
title: Period
required: true
show_user: true
default: 10s
- name: topics
type: text
title: List of topics to query metrics for
multi: true
show_user: true
- name: username
type: text
title: Address of Jolokia agents installed in Kafka (required for some metricsets)
title: SASL username
- name: password
type: password
title: SASL password
# TODO: Template for common SSL options?
- name: ssl.certificate_authorities
type: text # TODO: Add a "path" type so it helps in UI?
multi: true
required: false
show_user: true
- name: ssl.certificate
type: text # TODO: Add a "path" type so it helps in UI?
show_user: true
- name: ssl.key
type: text # TODO: Add a "path" type so it helps in UI?
show_user: true
- type: kafka_jolokia/metrics
title: Collect Jolokia metrics from Kafka instances
description: Collecting Kafka broker, consumer, consumergroup, partition and producer
metrics
vars:
- name: hosts
type: text
title: Address of Jolokia agents installed in Kafka
multi: true
required: true
show_user: true
default:
- 'localhost:8778'
Expand All @@ -64,6 +97,12 @@ datasources:
required: true
show_user: true
default: 10s
- name: username
type: text
title: Basic authentication username
- name: password
type: password
title: Basic authentication password
# TODO: Template for common SSL options?
- name: ssl.certificate_authorities
type: text # TODO: Add a "path" type so it helps in UI?
Expand Down

0 comments on commit 957e299

Please sign in to comment.