Skip to content

Commit

Permalink
test3
Browse files Browse the repository at this point in the history
  • Loading branch information
jcountsNR committed Sep 7, 2023
1 parent a894856 commit 3391a70
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 41 deletions.
60 changes: 30 additions & 30 deletions receiver/kafkametricsreceiver/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ metrics:
enabled: false
```
### kafka.brokers
[DEPRACATED] Number of brokers in the cluster.
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
| ---- | ----------- | ---------- | ----------------------- | --------- |
| {broker} | Sum | Int | Cumulative | false |
### kafka.consumer_group.lag
Current approximate lag of consumer group at partition of topic
Expand Down Expand Up @@ -162,28 +170,6 @@ Number of partitions in topic.
| ---- | ----------- | ------ |
| topic | The ID (integer) of a topic | Any Str |
### messaging.kafka.broker.consumer_fetch_rate
Average consumer fetch Rate
| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| {fetches}/s | Gauge | Double |
#### Attributes
| Name | Description | Values |
| ---- | ----------- | ------ |
| broker | The ID (integer) of a broker | Any Int |
### messaging.kafka.broker.count
Number of brokers in the cluster.
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
| ---- | ----------- | ---------- | ----------------------- | --------- |
| {broker} | Sum | Int | Cumulative | false |
## Optional Metrics
The following metrics are not emitted by default. Each of them can be enabled by applying the following configuration:
Expand All @@ -194,14 +180,6 @@ metrics:
enabled: true
```
### kafka.brokers
[DEPRACATED] Number of brokers in the cluster.
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
| ---- | ----------- | ---------- | ----------------------- | --------- |
| {broker} | Sum | Int | Cumulative | false |
### messaging.kafka.broker.consumer_fetch_count
Count of consumer fetches
Expand All @@ -216,6 +194,28 @@ Count of consumer fetches
| ---- | ----------- | ------ |
| broker | The ID (integer) of a broker | Any Int |
### messaging.kafka.broker.consumer_fetch_rate
Average consumer fetch Rate
| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| {fetches}/s | Gauge | Double |
#### Attributes
| Name | Description | Values |
| ---- | ----------- | ------ |
| broker | The ID (integer) of a broker | Any Int |
### messaging.kafka.broker.count
Number of brokers in the cluster.
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
| ---- | ----------- | ---------- | ----------------------- | --------- |
| {broker} | Sum | Int | Cumulative | true |
### messaging.kafka.broker.incoming_byte_rate
Average incoming Byte Rate in bytes/second
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions receiver/kafkametricsreceiver/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ metrics:

# brokers scraper
kafka.brokers:
enabled: false
enabled: true
description: '[DEPRACATED] Number of brokers in the cluster.'
unit: "{broker}"
sum:
Expand All @@ -37,17 +37,17 @@ metrics:
if_enabled: The metric is deprecated and will be removed. Use `messaging.kafka.broker.count`

messaging.kafka.broker.count:
enabled: true
enabled: false
description: Number of brokers in the cluster.
unit: "{broker}"
sum:
monotonic: false
monotonic: true
value_type: int
aggregation_temporality: cumulative
warnings:
if_enabled_not_set: This metric will be enabled by default in the next versions.
messaging.kafka.broker.consumer_fetch_rate:
enabled: true
enabled: false
description: Average consumer fetch Rate
unit: "{fetches}/s"
gauge:
Expand Down

0 comments on commit 3391a70

Please sign in to comment.