Skip to content

Commit

Permalink
chore: updated to messaging.kafka
Browse files Browse the repository at this point in the history
  • Loading branch information
jcountsNR committed Jul 31, 2023
1 parent a85f2c3 commit 3d24044
Show file tree
Hide file tree
Showing 8 changed files with 135 additions and 135 deletions.
2 changes: 1 addition & 1 deletion receiver/kafkametricsreceiver/broker_scraper.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func (s *brokerScraper) scrape(context.Context) (pmetric.Metrics, error) {
// kafka.brokers is deprecated. This should be removed in a future release.
s.mb.RecordKafkaBrokersDataPoint(now, brokerCount)

// kafka.brokers.count should replace kafka.brokers.
// messaging.kafka.brokers.count should replace kafka.brokers.
s.mb.RecordKafkaBrokersCountDataPoint(now, brokerCount)

return s.mb.Emit(), nil
Expand Down
20 changes: 10 additions & 10 deletions receiver/kafkametricsreceiver/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ metrics:
enabled: true
```
### kafka.brokers.consumer_fetch_rate
### messaging.kafka.brokers.consumer_fetch_rate
Average consumer fetch Rate
Expand All @@ -194,15 +194,15 @@ Average consumer fetch Rate
| ---- | ----------- | ------ |
| broker | The ID (integer) of a broker | Any Int |
### kafka.brokers.count
### messaging.kafka.brokers.count
Number of brokers in the cluster.
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
| ---- | ----------- | ---------- | ----------------------- | --------- |
| {brokers} | Sum | Int | Cumulative | false |
### kafka.brokers.incoming_byte_rate
### messaging.kafka.brokers.incoming_byte_rate
Average tncoming Byte Rate in bytes/second
Expand All @@ -216,7 +216,7 @@ Average tncoming Byte Rate in bytes/second
| ---- | ----------- | ------ |
| broker | The ID (integer) of a broker | Any Int |
### kafka.brokers.outgoing_byte_rate
### messaging.kafka.brokers.outgoing_byte_rate
Average outgoing Byte Rate in bytes/second.
Expand All @@ -230,7 +230,7 @@ Average outgoing Byte Rate in bytes/second.
| ---- | ----------- | ------ |
| broker | The ID (integer) of a broker | Any Int |
### kafka.brokers.request_latency
### messaging.kafka.brokers.request_latency
Average request latency in ms
Expand All @@ -244,7 +244,7 @@ Average request latency in ms
| ---- | ----------- | ------ |
| broker | The ID (integer) of a broker | Any Int |
### kafka.brokers.request_rate
### messaging.kafka.brokers.request_rate
Average request rate per second.
Expand All @@ -258,7 +258,7 @@ Average request rate per second.
| ---- | ----------- | ------ |
| broker | The ID (integer) of a broker | Any Int |
### kafka.brokers.request_size
### messaging.kafka.brokers.request_size
Average request size in bytes
Expand All @@ -272,7 +272,7 @@ Average request size in bytes
| ---- | ----------- | ------ |
| broker | The ID (integer) of a broker | Any Int |
### kafka.brokers.requests_in_flight
### messaging.kafka.brokers.requests_in_flight
Requests in flight
Expand All @@ -286,7 +286,7 @@ Requests in flight
| ---- | ----------- | ------ |
| broker | The ID (integer) of a broker | Any Int |
### kafka.brokers.response_rate
### messaging.kafka.brokers.response_rate
Average response rate per second
Expand All @@ -300,7 +300,7 @@ Average response rate per second
| ---- | ----------- | ------ |
| broker | The ID (integer) of a broker | Any Int |
### kafka.brokers.response_size
### messaging.kafka.brokers.response_size
Average response size in bytes
Expand Down
20 changes: 10 additions & 10 deletions receiver/kafkametricsreceiver/internal/metadata/generated_config.go

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

Loading

0 comments on commit 3d24044

Please sign in to comment.