-
Notifications
You must be signed in to change notification settings - Fork 225
Kafka metrics for the channel #617
Kafka metrics for the channel #617
Conversation
Co-Authored-By: mattmoor-sockpuppet <mattmoor+sockpuppet@google.com>
Co-Authored-By: mattmoor-sockpuppet <mattmoor+sockpuppet@google.com>
Co-Authored-By: mattmoor-sockpuppet <mattmoor+sockpuppet@google.com>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: matzew The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
kafka/channel/cmd/webhook/main.go
Outdated
@@ -18,6 +18,7 @@ package main | |||
import ( | |||
"context" | |||
"flag" | |||
"knative.dev/pkg/metrics" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
goimports?
kafka/channel/cmd/webhook/main.go
Outdated
// Watch the observability config map | ||
configMapWatcher.Watch(metrics.ConfigMapName(), metrics.UpdateExporterFromConfigMap(component, logger)) | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove a couple of these empty lines?
kafka/docs/metrics.md
Outdated
9090 | ||
``` | ||
|
||
Access Prometheus targets endpoint [http://localhost:9090/targets](http://localhost:9090/targets). Now, the **kafkachannel_controller**, **kafkachannel_dispatcher** and **kafkachannel_dispatcher** jobs should be up. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and kafkachannel_webhook ?
@matzew very trivial comments and good to go! |
@nachocano thanks for the review! I've patched the PR |
/lgtm |
Helps knative/eventing#1693.
Proposed Changes
/assign @nachocano