Combining Multiple Metrics into Same Graph Dynamically

Open
#276 5 comments 0 reactions 0 assignees View on GitHub

@iperry-indigex is already working on this.

Since Jun 8, 2022.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
php

Research direction

The issue names no source files, tests, or entry points. Start by reproducing the explicit-metric graph setup with the reported Icinga Web 2, module, Icinga 2, and Graphite versions, then trace how metric definitions are assembled. Done means metrics of the same type can be discovered and combined into one graph without explicitly listing each metric.

Written by the indexing model from the issue text.

Description

enhancement

We have checks that provide performance data in a dynamic way, e.g. differing numbers of sensors. We'd like to combine all metrics of a type (e.g. all temps) into one graph dynamically. I can combine them if I explicitly define each metric, but we need them to be dynamic. There's no documentation on this issue and the forums have not provided help.

Your Environment

  • Module version (System - About): 1.2.0
  • Icinga Web 2 version and modules (System - About): 2.10.1
  • Icinga 2 version (icinga2 --version): r2.13.3-1
  • Graphite (carbon, web, whisper) version: 1.1.10
  • Operating System and version: Ubuntu 20.04.4
  • Webserver, PHP versions: Apache 2.4.41, PHP 7.4.3
Dominant language
PHP
Stars
74
Forks
31
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Icinga/icingaweb2-module-graphite

All issues in Icinga/icingaweb2-module-graphite

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.