SYMBOL INDEX (224 symbols across 39 files) FILE: src/Prometheus/Collector.php class Collector (line 10) | abstract class Collector method __construct (line 41) | public function __construct(Adapter $storageAdapter, $namespace, $name... method getType (line 61) | abstract public function getType(); method getName (line 66) | public function getName(): string method getLabelNames (line 74) | public function getLabelNames(): array method getHelp (line 82) | public function getHelp(): string method getKey (line 90) | public function getKey(): string method assertLabelsAreDefinedCorrectly (line 98) | protected function assertLabelsAreDefinedCorrectly($labels): void FILE: src/Prometheus/CollectorRegistry.php class CollectorRegistry (line 12) | class CollectorRegistry method __construct (line 43) | public function __construct(Adapter $redisAdapter) method getDefault (line 51) | public static function getDefault(): CollectorRegistry method getMetricFamilySamples (line 62) | public function getMetricFamilySamples(): array method registerGauge (line 75) | public function registerGauge($namespace, $name, $help, $labels = []):... method getGauge (line 97) | public function getGauge($namespace, $name): Gauge method getOrRegisterGauge (line 114) | public function getOrRegisterGauge($namespace, $name, $help, $labels =... method registerCounter (line 132) | public function registerCounter($namespace, $name, $help, $labels = []... method getCounter (line 154) | public function getCounter($namespace, $name): Counter method getOrRegisterCounter (line 171) | public function getOrRegisterCounter($namespace, $name, $help, $labels... method registerHistogram (line 190) | public function registerHistogram($namespace, $name, $help, $labels = ... method getHistogram (line 213) | public function getHistogram($namespace, $name): Histogram method getOrRegisterHistogram (line 231) | public function getOrRegisterHistogram($namespace, $name, $help, $labe... method metricIdentifier (line 246) | private static function metricIdentifier($namespace, $name): string FILE: src/Prometheus/Counter.php class Counter (line 9) | class Counter extends Collector method getType (line 16) | public function getType(): string method inc (line 24) | public function inc(array $labels = []): void method incBy (line 33) | public function incBy($count, array $labels = []): void FILE: src/Prometheus/Exception/MetricNotFoundException.php class MetricNotFoundException (line 10) | class MetricNotFoundException extends Exception FILE: src/Prometheus/Exception/MetricsRegistrationException.php class MetricsRegistrationException (line 10) | class MetricsRegistrationException extends Exception FILE: src/Prometheus/Exception/StorageException.php class StorageException (line 10) | class StorageException extends Exception FILE: src/Prometheus/Gauge.php class Gauge (line 9) | class Gauge extends Collector method set (line 17) | public function set(float $value, array $labels = []): void method getType (line 37) | public function getType(): string method inc (line 45) | public function inc($labels = []): void method incBy (line 54) | public function incBy($value, array $labels = []): void method dec (line 74) | public function dec($labels = []): void method decBy (line 83) | public function decBy($value, $labels = []): void FILE: src/Prometheus/Histogram.php class Histogram (line 10) | class Histogram extends Collector method __construct (line 27) | public function __construct(Adapter $adapter, $namespace, $name, $help... method getDefaultBuckets (line 57) | public static function getDefaultBuckets(): array method exponentialBuckets (line 70) | public static function exponentialBuckets(float $start, float $growthF... method observe (line 98) | public function observe(float $value, array $labels = []): void method getType (line 118) | public function getType(): string FILE: src/Prometheus/MetricFamilySamples.php class MetricFamilySamples (line 7) | class MetricFamilySamples method __construct (line 37) | public function __construct(array $data) method getName (line 51) | public function getName(): string method getType (line 59) | public function getType(): string method getHelp (line 67) | public function getHelp(): string method getSamples (line 75) | public function getSamples(): array method getLabelNames (line 83) | public function getLabelNames(): array method hasLabelNames (line 91) | public function hasLabelNames(): bool FILE: src/Prometheus/PushGateway.php class PushGateway (line 12) | class PushGateway method __construct (line 29) | public function __construct($address, ClientInterface $client = null) method push (line 43) | public function push(CollectorRegistry $collectorRegistry, string $job... method pushAdd (line 56) | public function pushAdd(CollectorRegistry $collectorRegistry, string $... method delete (line 68) | public function delete(string $job, array $groupingKey = []): void method doRequest (line 80) | private function doRequest(CollectorRegistry $collectorRegistry, strin... FILE: src/Prometheus/RenderTextFormat.php class RenderTextFormat (line 7) | class RenderTextFormat method render (line 15) | public function render(array $metrics): string method renderSample (line 38) | private function renderSample(MetricFamilySamples $metric, Sample $sam... method escapeLabelValue (line 57) | private function escapeLabelValue($v): string FILE: src/Prometheus/Sample.php class Sample (line 7) | class Sample method __construct (line 33) | public function __construct(array $data) method getName (line 44) | public function getName(): string method getLabelNames (line 52) | public function getLabelNames(): array method getLabelValues (line 60) | public function getLabelValues(): array method getValue (line 68) | public function getValue(): string method hasLabelNames (line 76) | public function hasLabelNames(): bool FILE: src/Prometheus/Storage/APC.php class APC (line 11) | class APC implements Adapter method collect (line 18) | public function collect(): array method updateHistogram (line 29) | public function updateHistogram(array $data): void method updateGauge (line 65) | public function updateGauge(array $data): void method updateCounter (line 88) | public function updateCounter(array $data): void method flushAPC (line 100) | public function flushAPC(): void method metaKey (line 109) | private function metaKey(array $data): string method valueKey (line 118) | private function valueKey(array $data): string method histogramBucketValueKey (line 133) | private function histogramBucketValueKey(array $data, $bucket): string method metaData (line 149) | private function metaData(array $data): array method collectCounters (line 161) | private function collectCounters(): array method collectGauges (line 191) | private function collectGauges(): array method collectHistograms (line 222) | private function collectHistograms(): array method toInteger (line 298) | private function toInteger($val): int method fromInteger (line 307) | private function fromInteger($val): float method sortSamples (line 315) | private function sortSamples(array &$samples): void method encodeLabelValues (line 327) | private function encodeLabelValues(array $values): string method decodeLabelValues (line 341) | private function decodeLabelValues($values): array FILE: src/Prometheus/Storage/Adapter.php type Adapter (line 9) | interface Adapter method collect (line 18) | public function collect(); method updateHistogram (line 24) | public function updateHistogram(array $data): void; method updateGauge (line 30) | public function updateGauge(array $data): void; method updateCounter (line 36) | public function updateCounter(array $data): void; FILE: src/Prometheus/Storage/InMemory.php class InMemory (line 10) | class InMemory implements Adapter method collect (line 20) | public function collect(): array method flushMemory (line 28) | public function flushMemory(): void method collectHistograms (line 38) | private function collectHistograms(): array method internalCollect (line 114) | private function internalCollect(array $metrics): array method updateHistogram (line 145) | public function updateHistogram(array $data): void method updateGauge (line 181) | public function updateGauge(array $data): void method updateCounter (line 204) | public function updateCounter(array $data): void method histogramBucketValueKey (line 229) | private function histogramBucketValueKey(array $data, $bucket): string method metaKey (line 244) | private function metaKey(array $data): string method valueKey (line 258) | private function valueKey(array $data): string method metaData (line 273) | private function metaData(array $data): array method sortSamples (line 285) | private function sortSamples(array &$samples): void method encodeLabelValues (line 297) | private function encodeLabelValues(array $values): string method decodeLabelValues (line 311) | private function decodeLabelValues($values): array FILE: src/Prometheus/Storage/Redis.php class Redis (line 14) | class Redis implements Adapter method __construct (line 54) | public function __construct(array $options = []) method fromExistingConnection (line 60) | public static function fromExistingConnection(\Redis $redis): self method setDefaultOptions (line 76) | public static function setDefaultOptions(array $options): void method setPrefix (line 84) | public static function setPrefix($prefix): void method flushRedis (line 92) | public function flushRedis(): void method collect (line 102) | public function collect(): array method openConnection (line 119) | private function openConnection(): void method connectToServer (line 144) | private function connectToServer(): bool method updateHistogram (line 165) | public function updateHistogram(array $data): void method updateGauge (line 205) | public function updateGauge(array $data): void method updateCounter (line 245) | public function updateCounter(array $data): void method collectHistograms (line 277) | private function collectHistograms(): array method collectGauges (line 354) | private function collectGauges(): array method collectCounters (line 383) | private function collectCounters(): array method getRedisCommand (line 413) | private function getRedisCommand(int $cmd): string method toMetricKey (line 431) | private function toMetricKey(array $data): string FILE: tests/Test/BlackBoxPushGatewayTest.php class BlackBoxPushGatewayTest (line 11) | class BlackBoxPushGatewayTest extends TestCase method pushGatewayShouldWork (line 16) | public function pushGatewayShouldWork() FILE: tests/Test/BlackBoxTest.php class BlackBoxTest (line 9) | class BlackBoxTest extends TestCase method setUp (line 21) | public function setUp() method gaugesShouldBeOverwritten (line 31) | public function gaugesShouldBeOverwritten() method countersShouldIncrementAtomically (line 61) | public function countersShouldIncrementAtomically() method histogramsShouldIncrementAtomically (line 84) | public function histogramsShouldIncrementAtomically() FILE: tests/Test/Prometheus/APC/CollectorRegistryTest.php class CollectorRegistryTest (line 11) | class CollectorRegistryTest extends AbstractCollectorRegistryTest method configureAdapter (line 14) | public function configureAdapter() FILE: tests/Test/Prometheus/APC/CounterTest.php class CounterTest (line 12) | class CounterTest extends AbstractCounterTest method configureAdapter (line 14) | public function configureAdapter() FILE: tests/Test/Prometheus/APC/GaugeTest.php class GaugeTest (line 12) | class GaugeTest extends AbstractGaugeTest method configureAdapter (line 14) | public function configureAdapter() FILE: tests/Test/Prometheus/APC/HistogramTest.php class HistogramTest (line 12) | class HistogramTest extends AbstractHistogramTest method configureAdapter (line 14) | public function configureAdapter() FILE: tests/Test/Prometheus/AbstractCollectorRegistryTest.php class AbstractCollectorRegistryTest (line 14) | abstract class AbstractCollectorRegistryTest extends TestCase method setUp (line 26) | public function setUp(): void method itShouldSaveGauges (line 35) | public function itShouldSaveGauges() method itShouldSaveCounters (line 66) | public function itShouldSaveCounters() method itShouldSaveHistograms (line 92) | public function itShouldSaveHistograms() method itShouldSaveHistogramsWithoutLabels (line 145) | public function itShouldSaveHistogramsWithoutLabels() method itShouldIncreaseACounterWithoutNamespace (line 186) | public function itShouldIncreaseACounterWithoutNamespace() method itShouldForbidRegisteringTheSameCounterTwice (line 210) | public function itShouldForbidRegisteringTheSameCounterTwice() method itShouldForbidRegisteringTheSameCounterWithDifferentLabels (line 222) | public function itShouldForbidRegisteringTheSameCounterWithDifferentLa... method itShouldForbidRegisteringTheSameHistogramTwice (line 234) | public function itShouldForbidRegisteringTheSameHistogramTwice() method itShouldForbidRegisteringTheSameHistogramWithDifferentLabels (line 246) | public function itShouldForbidRegisteringTheSameHistogramWithDifferent... method itShouldForbidRegisteringTheSameGaugeTwice (line 258) | public function itShouldForbidRegisteringTheSameGaugeTwice() method itShouldForbidRegisteringTheSameGaugeWithDifferentLabels (line 270) | public function itShouldForbidRegisteringTheSameGaugeWithDifferentLabe... method itShouldThrowAnExceptionWhenGettingANonExistentMetric (line 282) | public function itShouldThrowAnExceptionWhenGettingANonExistentMetric() method itShouldNotRegisterACounterTwice (line 293) | public function itShouldNotRegisterACounterTwice() method itShouldNotRegisterAGaugeTwice (line 305) | public function itShouldNotRegisterAGaugeTwice() method itShouldNotRegisterAHistogramTwice (line 317) | public function itShouldNotRegisterAHistogramTwice() method configureAdapter (line 327) | abstract public function configureAdapter(); FILE: tests/Test/Prometheus/AbstractCounterTest.php class AbstractCounterTest (line 15) | abstract class AbstractCounterTest extends TestCase method setUp (line 22) | public function setUp(): void method configureAdapter (line 27) | abstract public function configureAdapter(); method itShouldIncreaseWithLabels (line 32) | public function itShouldIncreaseWithLabels() method itShouldIncreaseWithoutLabelWhenNoLabelsAreDefined (line 66) | public function itShouldIncreaseWithoutLabelWhenNoLabelsAreDefined() method itShouldIncreaseTheCounterByAnArbitraryInteger (line 98) | public function itShouldIncreaseTheCounterByAnArbitraryInteger() method itShouldRejectInvalidMetricsNames (line 131) | public function itShouldRejectInvalidMetricsNames() method itShouldRejectInvalidLabelNames (line 140) | public function itShouldRejectInvalidLabelNames() method isShouldAcceptAnySequenceOfBasicLatinCharactersForLabelValues (line 152) | public function isShouldAcceptAnySequenceOfBasicLatinCharactersForLabe... method labelValuesDataProvider (line 180) | public function labelValuesDataProvider() FILE: tests/Test/Prometheus/AbstractGaugeTest.php class AbstractGaugeTest (line 15) | abstract class AbstractGaugeTest extends TestCase method setUp (line 22) | public function setUp(): void method configureAdapter (line 27) | abstract public function configureAdapter(); method itShouldAllowSetWithLabels (line 32) | public function itShouldAllowSetWithLabels() method itShouldAllowSetWithoutLabelWhenNoLabelsAreDefined (line 66) | public function itShouldAllowSetWithoutLabelWhenNoLabelsAreDefined() method itShouldAllowSetWithAFloatValue (line 100) | public function itShouldAllowSetWithAFloatValue() method itShouldIncrementAValue (line 134) | public function itShouldIncrementAValue() method itShouldIncrementWithFloatValue (line 167) | public function itShouldIncrementWithFloatValue() method itShouldDecrementAValue (line 200) | public function itShouldDecrementAValue() method itShouldDecrementWithFloatValue (line 233) | public function itShouldDecrementWithFloatValue() method itShouldOverwriteWhenSettingTwice (line 266) | public function itShouldOverwriteWhenSettingTwice() method itShouldRejectInvalidMetricsNames (line 299) | public function itShouldRejectInvalidMetricsNames() method itShouldRejectInvalidLabelNames (line 308) | public function itShouldRejectInvalidLabelNames() method isShouldAcceptAnySequenceOfBasicLatinCharactersForLabelValues (line 320) | public function isShouldAcceptAnySequenceOfBasicLatinCharactersForLabe... method labelValuesDataProvider (line 348) | public function labelValuesDataProvider() FILE: tests/Test/Prometheus/AbstractHistogramTest.php class AbstractHistogramTest (line 15) | abstract class AbstractHistogramTest extends TestCase method setUp (line 22) | public function setUp(): void method configureAdapter (line 27) | abstract public function configureAdapter(); method itShouldObserveWithLabels (line 32) | public function itShouldObserveWithLabels() method itShouldObserveWithoutLabelWhenNoLabelsAreDefined (line 102) | public function itShouldObserveWithoutLabelWhenNoLabelsAreDefined() method itShouldObserveValuesOfTypeDouble (line 171) | public function itShouldObserveValuesOfTypeDouble() method itShouldProvideDefaultBuckets (line 241) | public function itShouldProvideDefaultBuckets() method itShouldThrowAnExceptionWhenTheBucketSizesAreNotIncreasing (line 378) | public function itShouldThrowAnExceptionWhenTheBucketSizesAreNotIncrea... method itShouldThrowAnExceptionWhenThereIsLessThanOneBucket (line 388) | public function itShouldThrowAnExceptionWhenThereIsLessThanOneBucket() method itShouldThrowAnExceptionWhenThereIsALabelNamedLe (line 398) | public function itShouldThrowAnExceptionWhenThereIsALabelNamedLe() method itShouldRejectInvalidMetricsNames (line 408) | public function itShouldRejectInvalidMetricsNames() method itShouldRejectInvalidLabelNames (line 418) | public function itShouldRejectInvalidLabelNames() method isShouldAcceptAnySequenceOfBasicLatinCharactersForLabelValues (line 431) | public function isShouldAcceptAnySequenceOfBasicLatinCharactersForLabe... method itShouldBeAbleToGenerateExponentialBucketsGivenSpecificBounds (line 458) | public function itShouldBeAbleToGenerateExponentialBucketsGivenSpecifi... method labelValuesDataProvider (line 490) | public function labelValuesDataProvider() FILE: tests/Test/Prometheus/InMemory/CollectorRegistryTest.php class CollectorRegistryTest (line 8) | class CollectorRegistryTest extends AbstractCollectorRegistryTest method configureAdapter (line 10) | public function configureAdapter() FILE: tests/Test/Prometheus/InMemory/CounterTest.php class CounterTest (line 11) | class CounterTest extends AbstractCounterTest method configureAdapter (line 14) | public function configureAdapter() FILE: tests/Test/Prometheus/InMemory/GaugeTest.php class GaugeTest (line 11) | class GaugeTest extends AbstractGaugeTest method configureAdapter (line 14) | public function configureAdapter() FILE: tests/Test/Prometheus/InMemory/HistogramTest.php class HistogramTest (line 11) | class HistogramTest extends AbstractHistogramTest method configureAdapter (line 14) | public function configureAdapter() FILE: tests/Test/Prometheus/PushGatewayTest.php class PushGatewayTest (line 14) | class PushGatewayTest extends TestCase method validResponseShouldNotThrowException (line 21) | public function validResponseShouldNotThrowException(): void method invalidResponseShouldThrowRuntimeException (line 44) | public function invalidResponseShouldThrowRuntimeException(): void method clientGetsDefinedIfNotSpecified (line 67) | public function clientGetsDefinedIfNotSpecified(): void FILE: tests/Test/Prometheus/Redis/CollectorRegistryTest.php class CollectorRegistryTest (line 11) | class CollectorRegistryTest extends AbstractCollectorRegistryTest method configureAdapter (line 13) | public function configureAdapter() FILE: tests/Test/Prometheus/Redis/CounterTest.php class CounterTest (line 12) | class CounterTest extends AbstractCounterTest method configureAdapter (line 14) | public function configureAdapter() FILE: tests/Test/Prometheus/Redis/CounterWithPrefixTest.php class CounterWithPrefixTest (line 12) | class CounterWithPrefixTest extends AbstractCounterTest method configureAdapter (line 14) | public function configureAdapter() FILE: tests/Test/Prometheus/Redis/GaugeTest.php class GaugeTest (line 12) | class GaugeTest extends AbstractGaugeTest method configureAdapter (line 14) | public function configureAdapter() FILE: tests/Test/Prometheus/Redis/GaugeWithPrefixTest.php class GaugeWithPrefixTest (line 12) | class GaugeWithPrefixTest extends AbstractGaugeTest method configureAdapter (line 14) | public function configureAdapter() FILE: tests/Test/Prometheus/Redis/HistogramTest.php class HistogramTest (line 12) | class HistogramTest extends AbstractHistogramTest method configureAdapter (line 14) | public function configureAdapter() FILE: tests/Test/Prometheus/Redis/HistogramWithPrefixTest.php class HistogramWithPrefixTest (line 12) | class HistogramWithPrefixTest extends AbstractHistogramTest method configureAdapter (line 14) | public function configureAdapter() FILE: tests/Test/Prometheus/Storage/RedisTest.php class RedisTest (line 11) | class RedisTest extends TestCase method itShouldThrowAnExceptionOnConnectionFailure (line 16) | public function itShouldThrowAnExceptionOnConnectionFailure() method itShouldThrowExceptionWhenInjectedRedisIsNotConnected (line 30) | public function itShouldThrowExceptionWhenInjectedRedisIsNotConnected()