Skip to content

πŸ“ˆ cdviz-collector: expose prometheus metricsΒ #16

@davidB

Description

@davidB
  • expose metrics to prometheus:
    • cdviz_cdevent_total that count the number of events created by sources, or send by sink, with labels:
      • stage: source or sink
      • stage_name: the name of the source or the sink
      • error: empty string if none, else error kind
    • cdviz_processing_duration time between creation by the source with label
      • sink_name: the name of the sink
      • source_name: the name of the source
  • show the metrics on grafana dashboard "cdviz-collector activities"
    • count by stage_name
    • increase by stage_name
  • add the ServiceMonitor as part of the cdviz-collector chart if not exists

Explore if those metrics could not be extracted by using metrics extracted from tracing-span (see the contrib spanprocessor in otel-collector processor)?

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