#include <couchbase/diagnostics_result.hxx>
◆ diagnostics_result() [1/2]
◆ diagnostics_result() [2/2]
◆ as_json()
auto as_json |
( |
| ) |
const -> std::string |
|
nodiscard |
Exports the diagnostics report as JSON.
- Returns
- the JSON report.
- Since
- 1.0.0
- Committed
- Generally available API and should be preferred in production
◆ endpoints()
Returns the diagnostics for each individual endpoint, organised by service type.
- Returns
- the service type to endpoint diagnostics reports map.
- Since
- 1.0.0
- Committed
- Generally available API and should be preferred in production
◆ id()
auto id |
( |
| ) |
const -> std::string
|
|
inlinenodiscard |
Returns the ID of this report.
- Returns
- the report ID.
- Since
- 1.0.0
- Committed
- Generally available API and should be preferred in production
◆ sdk()
auto sdk |
( |
| ) |
const -> std::string
|
|
inlinenodiscard |
Returns the identifier of this SDK (useful when exporting to JSON).
- Returns
- the SDK identifier.
- Since
- 1.0.0
- Committed
- Generally available API and should be preferred in production
◆ version()
auto version |
( |
| ) |
const -> std::uint16_t
|
|
inlinenodiscard |
Returns the version of this report (useful when exporting to JSON).
- Returns
- the report version
- Since
- 1.0.0
- Committed
- Generally available API and should be preferred in production
The documentation for this class was generated from the following file: