mirror of
https://github.com/nextcloud/server.git
synced 2026-11-02 20:11:47 +01:00
30 lines
454 B
PHP
30 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';
|
|
}
|