You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,7 @@ A metric consist of 5 parameters: name, value, timestamp, verbosity and tags.
88
88
| name | string | yes | - |
89
89
| value | int / double / string / uint64_t | yes | - |
90
90
| timestamp | chrono::time_point<std::chrono::system_clock>| no | current timestamp |
91
-
| verbosity |DEBUG / INFO / PROD| no |INFO|
91
+
| verbosity |Debug / Info / Prod| no |Info|
92
92
| tags | vector<unsignedint> | no | - |
93
93
94
94
A metric can be constructed by providing required parameters (value and name):
@@ -97,13 +97,13 @@ Metric{10, "name"}
97
97
```
98
98
99
99
#### Verbosity
100
-
There are 3 verbosity levels (the same as for backends): DEBUG, INFO, PROD. The default verbosity is set using: `Metric::setDefaultVerbosity(verbosity)`.
100
+
There are 3 verbosity levels (the same as for backends): Debug, Info, Prod. The default verbosity is set using: `Metric::setDefaultVerbosity(verbosity)`.
101
101
To overwrite verbosity on per metric basis use third, optional parameter to metric constructor:
102
102
```cpp
103
-
Metric{10, "name", Verbosity::PROD}
103
+
Metric{10, "name", Verbosity::Prod}
104
104
```
105
105
106
-
Metrics need to match backends verbosity in order to be sent, eg. backend with `/info` verbosity will accept `INFO` and `PROD` metrics only.
106
+
Metrics need to match backends verbosity in order to be sent, eg. backend with `/info` verbosity will accept `Info` and `Prod` metrics only.
0 commit comments