Skip to content

Eventing metrics: document the source adapter metrics and their labels #6803

Open

Description

@RajPrakash681

Describe the change you'd like to see
The Knative Eventing metrics page still lists the OpenCensus event_count and retry_event_count metrics for event sources, with name, namespace_name and resource_group tags. Since 1.22, the PingSource and ApiServerSource adapters report their sends as http.client.request.duration and the other http.client.* metrics, with attributes including:

  • kn.source.name and kn.source.namespace: the Source that sent the event
  • cloudevents.type: the event type
  • server.address, http.request.method, http.response.status_code, url.scheme

In Prometheus they appear as http_client_request_duration_seconds_* with kn_source_name, kn_source_namespace and cloudevents_type labels. There is no resource group label any more. The Source labels were missing in 1.24.0 and come back with knative/eventing#9608.

Additional context
Each send attempt is counted, retries included. The PingSource adapter serves metrics on port 9092.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions