Skip to content

Commit 9512223

Browse files
Barthelemyawegrzyn
authored andcommitted
Clarify the getting started (#56)
1 parent 0ec0739 commit 9512223

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,9 @@ The recommended way of getting (`unique_ptr` to) monitoring instance is `Get`ing
9090
The library is accessible from `o2::monitoring` namespace.
9191

9292
```cpp
93+
#include <MonitoringFactory.h>
9394
using namespace o2::monitoring;
94-
MonitoringFactory::Get("backend[-protocol]://host:port[?query]");
95+
std::unique_ptr<Monitoring> monitoring = MonitoringFactory::Get("backend[-protocol]://host:port[?query]");
9596
```
9697
See table below to find out how to create `URI` for each backend:
9798

0 commit comments

Comments
 (0)