Skip to content
This repository was archived by the owner on Jun 24, 2020. It is now read-only.
This repository was archived by the owner on Jun 24, 2020. It is now read-only.

The serving-operator should export prometheus metrics #5

Description

@trshafer

This will require a creating a Service that exposes a metrics port similar to the knative serving controller (https://github.com/knative/serving/blob/9bcd6f482377c5c42665e7d5fad9072a180301fc/config/400-controller-service.yaml#L25)

Example service:

apiVersion: v1
kind: Service
metadata:
  labels:
    app: serving-operator
    serving.knative.dev/release: devel
  name: serving-operator
  namespace: default
spec:
  ports:
  - name: metrics
    port: 9090
    protocol: TCP
    targetPort: 9090
  selector:
    app: serving-operator

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