Skip to content

Docs add single stat field

Dhiraj Bodicherla requested to merge docs-add-single-stat-field into master

What does this MR do?

field was added in !35289 (merged). This MR updates metrics dashboards related docs for the single stat panels to add field details.

dashboard: 'Metrics Dev'
panel_groups:
  - group: 'Stat'
    panels:
      - title: "🐤 Before"
        type: "single-stat"
        field: prom_version # <-------- This is the new property
        metrics:
        - id: 1110
          query: 'label_replace(topk(1, count(prometheus_build_info) by (version)), "prom_version", "@$1", "version", "(.*)")'
          label: "Prom version"
          unit: ' '

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Mentions: #220361 (closed)

Edited by Dhiraj Bodicherla

Merge request reports

Loading