bmcweb: Add patch for gRPC Redfish metrics.

Add new gRPCStatistics OEM schema and implement it in
ManagerDiagnosticData handler.

This change requres grpc-redfish changes in
cl/524481965.

Refresh impacted patches.

TESTED: Built secure and insecure for Izumi.  Run on Izumi BMC, query
  from corp desktop using ssh tunnel.  Query for ManagerDiagnosticData
  and GooglegRPCStatistics.  Verified ManagerDiagnosticData has entry
  for GooglegRPCStatistics.  Verified GooglegRPCStatistics contains
  reasonable counters and latencies.
  Passed Redfish Validator for URI:
  /redfish/v1/Managers/bmc/ManagerDiagnosticData/Oem/Google/GooglegRPCStatistics

curl -u root@${MACHINE_NAME}-nfd01 -X GET "http://${bmc}/redfish/v1/Managers/bmc/ManagerDiagnosticData/Oem/Google/GooglegRPCStatistics"
Enter host password for user 'root@yscbg2-nfd01':
{
  "@odata.id": "/redfish/v1/Managers/bmc/ManagerDiagnosticData/Oem/Google/GooglegRPCStatistics",
  "@odata.type": "#GooglegRPCStatistics.v1_0_0.GooglegRPCStatistics",
  "AuthenticatedCount": 16523,
  "AuthenticatedFailCount": 0,
  "AuthenticationLatencyMs": 4970,
  "AuthorizedCount": 16523,
  "AuthorizedFailCount": 0,
  "HTTPMethods": [
    {
      "Count": 12,
      "Method": 4
    },
    {
      "Count": 16511,
      "Method": 2
    }
  ],
  "HTTPResponseCodes": [
    {
      "Count": 16523,
      "StatusCode": 200
    }
  ],
  "Id": "GooglegRPCStatistics",
  "Name": "Google gRPC Statistics",
  "ProcessingLatencyMs": 4771411,
  "QueueLatencyMs": 48,
  "RequestLatencyMs": 864,
  "ResponseLatencyMs": 33317,
  "gRPCInitLatencyMs": 1330,
  "gRPCResponseCodes": [
    {
      "Count": 16523,
      "StatusCode": 0
    }
  ]

Google-Bug-Id: 273341948
Change-Id: Idaebde86f1338d92729bb26e128740a5afe56e32
Signed-off-by: Nancy Yuen <yuenn@google.com>
5 files changed
tree: 20d454dbbef254c7f97563303fc1bf244aabcf9e
  1. conf/
  2. dynamic-layers/
  3. meta-nuvoton-npcm8xx/
  4. recipes-connectivity/
  5. recipes-core/
  6. recipes-devtools/
  7. recipes-extended/
  8. recipes-google/
  9. recipes-kernel/
  10. recipes-phosphor/
  11. LICENSE
  12. README.md
README.md

meta-gbmc-staging

This repository contains additions to the openbmc/meta-google layer that are not yet ready for OpenBMC inclusion.

How to use this layer

  1. Clone openbmc/openbmc from GitHub.
  2. Clone this layer from GitHub into a subdirectory of openbmc.