nextcloud/lib/public/OpenMetrics/MetricValue.php
Daniel Kesselberg 25ca85e329
docs(ocp): Add since tag
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2026-04-28 11:17:27 +02:00

29 lines
454 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCP\OpenMetrics;
/**
* Special values for metrics
* @since 33.0.0
*/
enum MetricValue: string {
/**
* @since 33.0.0
*/
case NOT_A_NUMBER = 'NaN';
/**
* @since 33.0.0
*/
case POSITIVE_INFINITY = '+Inf';
/**
* @since 33.0.0
*/
case NEGATIVE_INFINITY = '-Inf';
}