blob: 471632e164c10cb1b4a4a3b9627614c5270e573f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
<?php
declare(strict_types=1);
namespace OpenTelemetry\SDK\Common\Configuration;
interface VariableTypes
{
/**
* A single boolean value represented as a string or integer ('true', 'false', 0, 1)
* example: value1
*/
public const BOOL = 'bool';
/**
* A single string value
* example: value1
*/
public const STRING = 'string';
/**
* A single integer value
* example: 5000
*/
public const INTEGER = 'integer';
/**
* A single float value
* example: 10.5
*/
public const FLOAT = 'float';
/**
* A single float value between 0.0 and 1.0
* example: 0.5
*/
public const RATIO = 'ratio';
/**
* A single string value from a fixed list of values
* example values: value1, value2, value3
* example: value1
*/
public const ENUM = 'enum';
/**
* A comma separated list of single string values
* example: value1,value2,value3
*/
public const LIST = 'list';
/**
* A comma separated list of key-value pairs
* example: key1=value1,key2=value2
*/
public const MAP = 'map';
/**
* Values of mixed type
*/
public const MIXED = 'mixed';
}
|