Skip to content

Extend prometheus limitations #226

Description

@dann1

As a follow up to #187 we need to limit also the TSDB size. This is important to prevent the disk where both prometheus and the frontend run from getting full, which leads to broken control plane.

The default opennebula-prometheus systemd unit provides

ExecStart=/usr/bin/prometheus \
          --config.file=/etc/one/prometheus/prometheus.yml \
          --storage.tsdb.path=/var/lib/prometheus/data/

we are thinking maybe we can use systemd overrides as well to add extra arguments to control TSDB.

The goal itself is to limit the size of the DB, but perhaps it can be introduced as a general prometheus systemd override feature where we could declare whatever.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Fields

No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions