├── .docker ├── composer │ └── Dockerfile └── php │ ├── 7.2 │ └── Dockerfile │ ├── 7.3 │ └── Dockerfile │ ├── 7.4 │ └── Dockerfile │ ├── 8.0 │ └── Dockerfile │ ├── 8.1 │ └── Dockerfile │ ├── 8.2 │ └── Dockerfile │ ├── 8.3 │ └── Dockerfile │ └── 8.4 │ └── Dockerfile ├── .github ├── CODEOWNERS ├── CONTRIBUTING.md ├── ISSUE_TEMPLATE.md ├── PULL_REQUEST_TEMPLATE.md └── workflows │ └── ci.yml ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── Makefile ├── README.md ├── benchmarks ├── histogram.php └── summary.php ├── composer.json ├── docker-compose.yml ├── examples ├── counters.php ├── gauges.php ├── histogram.php └── summary.php ├── src ├── Collections │ ├── AbstractMetricCollection.php │ ├── CounterCollection.php │ ├── GaugeCollection.php │ └── LabelCollection.php ├── Exceptions │ ├── InvalidArgumentException.php │ └── RuntimeException.php ├── Interfaces │ ├── CollectsLabels.php │ ├── CollectsMetrics.php │ ├── NamesMetric.php │ ├── ProvidesMeasuredValue.php │ ├── ProvidesMetricLines.php │ ├── ProvidesNamedValue.php │ └── ProvidesSampleString.php ├── Metrics │ ├── Aggregations │ │ ├── Count.php │ │ └── Sum.php │ ├── Counter.php │ ├── Gauge.php │ ├── Histogram.php │ ├── Histogram │ │ ├── Bucket.php │ │ └── InfiniteBucket.php │ ├── Summary.php │ └── Summary │ │ └── Quantile.php └── Types │ ├── Label.php │ └── MetricName.php └── tests ├── Integration └── OpenMetrics │ ├── PythonParserTest.php │ └── parseFile.py ├── Traits └── EmptyStringProviding.php ├── Unit ├── Collections │ ├── CounterCollectionTest.php │ ├── GaugeCollectionTest.php │ └── LabelCollectionTest.php ├── Metrics │ ├── CounterTest.php │ ├── GaugeTest.php │ ├── HistogramTest.php │ ├── Summary │ │ └── QuantileTest.php │ └── SummaryTest.php └── Types │ ├── LabelTest.php │ └── MetricNameTest.php ├── bootstrap.php ├── phpunit-10.xml ├── phpunit-8.xml └── phpunit-9.xml /.docker/composer/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/.docker/composer/Dockerfile -------------------------------------------------------------------------------- /.docker/php/7.2/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/.docker/php/7.2/Dockerfile -------------------------------------------------------------------------------- /.docker/php/7.3/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/.docker/php/7.3/Dockerfile -------------------------------------------------------------------------------- /.docker/php/7.4/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/.docker/php/7.4/Dockerfile -------------------------------------------------------------------------------- /.docker/php/8.0/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/.docker/php/8.0/Dockerfile -------------------------------------------------------------------------------- /.docker/php/8.1/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/.docker/php/8.1/Dockerfile -------------------------------------------------------------------------------- /.docker/php/8.2/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/.docker/php/8.2/Dockerfile -------------------------------------------------------------------------------- /.docker/php/8.3/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/.docker/php/8.3/Dockerfile -------------------------------------------------------------------------------- /.docker/php/8.4/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/.docker/php/8.4/Dockerfile -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/.github/CONTRIBUTING.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/.github/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/README.md -------------------------------------------------------------------------------- /benchmarks/histogram.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/benchmarks/histogram.php -------------------------------------------------------------------------------- /benchmarks/summary.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/benchmarks/summary.php -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/composer.json -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /examples/counters.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/examples/counters.php -------------------------------------------------------------------------------- /examples/gauges.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/examples/gauges.php -------------------------------------------------------------------------------- /examples/histogram.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/examples/histogram.php -------------------------------------------------------------------------------- /examples/summary.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/examples/summary.php -------------------------------------------------------------------------------- /src/Collections/AbstractMetricCollection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/src/Collections/AbstractMetricCollection.php -------------------------------------------------------------------------------- /src/Collections/CounterCollection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/src/Collections/CounterCollection.php -------------------------------------------------------------------------------- /src/Collections/GaugeCollection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/src/Collections/GaugeCollection.php -------------------------------------------------------------------------------- /src/Collections/LabelCollection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/src/Collections/LabelCollection.php -------------------------------------------------------------------------------- /src/Exceptions/InvalidArgumentException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/src/Exceptions/InvalidArgumentException.php -------------------------------------------------------------------------------- /src/Exceptions/RuntimeException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/src/Exceptions/RuntimeException.php -------------------------------------------------------------------------------- /src/Interfaces/CollectsLabels.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/src/Interfaces/CollectsLabels.php -------------------------------------------------------------------------------- /src/Interfaces/CollectsMetrics.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/src/Interfaces/CollectsMetrics.php -------------------------------------------------------------------------------- /src/Interfaces/NamesMetric.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/src/Interfaces/NamesMetric.php -------------------------------------------------------------------------------- /src/Interfaces/ProvidesMeasuredValue.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/src/Interfaces/ProvidesMeasuredValue.php -------------------------------------------------------------------------------- /src/Interfaces/ProvidesMetricLines.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/src/Interfaces/ProvidesMetricLines.php -------------------------------------------------------------------------------- /src/Interfaces/ProvidesNamedValue.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/src/Interfaces/ProvidesNamedValue.php -------------------------------------------------------------------------------- /src/Interfaces/ProvidesSampleString.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/src/Interfaces/ProvidesSampleString.php -------------------------------------------------------------------------------- /src/Metrics/Aggregations/Count.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/src/Metrics/Aggregations/Count.php -------------------------------------------------------------------------------- /src/Metrics/Aggregations/Sum.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/src/Metrics/Aggregations/Sum.php -------------------------------------------------------------------------------- /src/Metrics/Counter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/src/Metrics/Counter.php -------------------------------------------------------------------------------- /src/Metrics/Gauge.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/src/Metrics/Gauge.php -------------------------------------------------------------------------------- /src/Metrics/Histogram.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/src/Metrics/Histogram.php -------------------------------------------------------------------------------- /src/Metrics/Histogram/Bucket.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/src/Metrics/Histogram/Bucket.php -------------------------------------------------------------------------------- /src/Metrics/Histogram/InfiniteBucket.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/src/Metrics/Histogram/InfiniteBucket.php -------------------------------------------------------------------------------- /src/Metrics/Summary.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/src/Metrics/Summary.php -------------------------------------------------------------------------------- /src/Metrics/Summary/Quantile.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/src/Metrics/Summary/Quantile.php -------------------------------------------------------------------------------- /src/Types/Label.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/src/Types/Label.php -------------------------------------------------------------------------------- /src/Types/MetricName.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/src/Types/MetricName.php -------------------------------------------------------------------------------- /tests/Integration/OpenMetrics/PythonParserTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/tests/Integration/OpenMetrics/PythonParserTest.php -------------------------------------------------------------------------------- /tests/Integration/OpenMetrics/parseFile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/tests/Integration/OpenMetrics/parseFile.py -------------------------------------------------------------------------------- /tests/Traits/EmptyStringProviding.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/tests/Traits/EmptyStringProviding.php -------------------------------------------------------------------------------- /tests/Unit/Collections/CounterCollectionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/tests/Unit/Collections/CounterCollectionTest.php -------------------------------------------------------------------------------- /tests/Unit/Collections/GaugeCollectionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/tests/Unit/Collections/GaugeCollectionTest.php -------------------------------------------------------------------------------- /tests/Unit/Collections/LabelCollectionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/tests/Unit/Collections/LabelCollectionTest.php -------------------------------------------------------------------------------- /tests/Unit/Metrics/CounterTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/tests/Unit/Metrics/CounterTest.php -------------------------------------------------------------------------------- /tests/Unit/Metrics/GaugeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/tests/Unit/Metrics/GaugeTest.php -------------------------------------------------------------------------------- /tests/Unit/Metrics/HistogramTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/tests/Unit/Metrics/HistogramTest.php -------------------------------------------------------------------------------- /tests/Unit/Metrics/Summary/QuantileTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/tests/Unit/Metrics/Summary/QuantileTest.php -------------------------------------------------------------------------------- /tests/Unit/Metrics/SummaryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/tests/Unit/Metrics/SummaryTest.php -------------------------------------------------------------------------------- /tests/Unit/Types/LabelTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/tests/Unit/Types/LabelTest.php -------------------------------------------------------------------------------- /tests/Unit/Types/MetricNameTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmetrics-php/exposition-text/HEAD/tests/Unit/Types/MetricNameTest.php -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- 1 |