Portability reports.
Definition in file portability_info.hpp.
Go to the source code of this file.
|
namespace | utils |
| Utilities.
|
|
|
enum class | WarningCode {
kInf
,
kNan
,
kHistogramBucketsCount
,
kLabelsCount
,
kReservedLabelApplication
,
kReservedLabelCluster
,
kReservedLabelGroup
,
kReservedLabelHost
,
kReservedLabelProject
,
kReservedLabelSensor
,
kReservedLabelService
,
kLabelNameLength
,
kLabelValueLength
,
kPathLength
,
kLabelNameMismatch
} |
|
◆ PortabilityWarnings
using utils::statistics::PortabilityWarnings = std::unordered_map<WarningCode, std::vector<Warning>> |
◆ WarningCode
enum class utils::statistics::WarningCode |
|
strong |
◆ GetPortabilityWarnings()
◆ Serialize()
JSON serialization for the PortabilityInfo in the following format:
{
"warning_code": [
{
"error_message": "Human readable message",
"path": "foo-bar",
"labels": {
"some-label": "label-value",
"some-other-label": "other-label-value",
}
}
],
"another_error_id": [
{
"path": "foo.bar",
"labels": {
"another-label": "another-value"
}
},
]
}