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 | 
        
      
 
Initial value: 
    std::unordered_map<WarningCode, std::vector<Warning>>
 
Definition at line 49 of file portability_info.hpp.
 
 
◆ WarningCode
  
  
      
        
          | enum class utils::statistics::WarningCode | 
         
       
   | 
  
strong   | 
  
 
 
◆ GetPortabilityWarnings()
◆ Serialize()
JSON serilization 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"
      }
    },
  ]
}