| { |
| "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", |
| "copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", |
| "definitions": { |
| "gRPCStatistics": { |
| "additionalProperties": false, |
| "description": "Google OEM Extension to ManagerDiagnosticData for gRPC Statistics.", |
| "longDescription": "This resource shall be used to represent statistics measured from the gRPC Redfish interface of this Redfsih service.", |
| "patternProperties": { |
| "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| "description": "This property shall specify a valid odata or Redfish property.", |
| "type": [ |
| "array", |
| "boolean", |
| "integer", |
| "number", |
| "null", |
| "object", |
| "string" |
| ] |
| } |
| }, |
| "properties": { |
| "@odata.context": { |
| "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" |
| }, |
| "@odata.etag": { |
| "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" |
| }, |
| "@odata.id": { |
| "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" |
| }, |
| "@odata.type": { |
| "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" |
| }, |
| "AuthenticatedCount": { |
| "description": "A property indicating the total number of gRPC requested that were authenticated.", |
| "longDescription": "The value of this property shall be the total cumulative number of gRPC requests received to this gRPC service root that met authentication requirements.", |
| "readonly": true, |
| "type": [ |
| "integer", |
| "null" |
| ] |
| }, |
| "AuthenticatedFailCount": { |
| "description": "A property indicating the total number of gRPC requested that were authenticated.", |
| "longDescription": "The value of this property shall be the total cumulative number of gRPC requests received to this gRPC service root that met authentication requirements.", |
| "readonly": true, |
| "type": [ |
| "integer", |
| "null" |
| ] |
| }, |
| "AuthenticationLatencyMs": { |
| "description": "A property indicating the total time all requests spent queued.", |
| "longDescription": "The value of this property shall be the total cumulative time in milliseconds that any request was spent in queued.", |
| "readonly": true, |
| "type": [ |
| "integer", |
| "null" |
| ] |
| }, |
| "AuthorizationLatencyMs": { |
| "description": "A property indicating the total time take by all requests for authentication.", |
| "longDescription": "The value of this property shall be the total cumulative time in milliseconds that any request was spent authorizating.", |
| "readonly": true, |
| "type": [ |
| "integer", |
| "null" |
| ] |
| }, |
| "AuthorizedCount": { |
| "description": "A property indicating the total number of gRPC requested that were authorized.", |
| "longDescription": "The value of this property shall be the total cumulative number of gRPC requests received to this gRPC service root that met authorization requirements.", |
| "readonly": true, |
| "type": [ |
| "integer", |
| "null" |
| ] |
| }, |
| "AuthorizedFailCount": { |
| "description": "A property indicating the total number of gRPC requested that failed authorization.", |
| "longDescription": "The value of this property shall be the total cumulative number of gRPC requests received to this gRPC service root that did not met authorization requirements.", |
| "readonly": true, |
| "type": [ |
| "integer", |
| "null" |
| ] |
| }, |
| "Description": { |
| "anyOf": [ |
| { |
| "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" |
| }, |
| { |
| "type": "null" |
| } |
| ], |
| "readonly": true |
| }, |
| "gRPCInitLatencyMs": { |
| "description": "A property indicating the total time taken by gRPC Service to initialize.", |
| "longDescription": "The value of this property shall be the total cumulative time in milliseconds spent by gRPC Server to initialize.", |
| "readonly": true, |
| "type": [ |
| "integer", |
| "null" |
| ] |
| }, |
| "gRPCResponseCodes": { |
| "description": "gRPC RPC statistics since last reset.", |
| "items": { |
| "anyOf": [ |
| { |
| "$ref": "#/definitions/gRPCStatusCodeCount" |
| }, |
| { |
| "type": "null" |
| } |
| ] |
| }, |
| "longDescription": "The value of this property shall be the total cumulative number of gRPC response sent for each status code from this service root. gRPC status codes not present in the collection can assumed to have a count of zero.", |
| "readonly": true, |
| "type": "array" |
| }, |
| "HTTPMethods": { |
| "description": "HTTP request statistics since last reset.", |
| "items": { |
| "anyOf": [ |
| { |
| "$ref": "#/definitions/HTTPMethodCount" |
| }, |
| { |
| "type": "null" |
| } |
| ] |
| }, |
| "longDescription": "The value of this property shall be the total cumulative number of rpcs with each http method received from this service root. HTTP methods not present in the collection can assumed to have a count of zero.", |
| "readonly": true, |
| "type": "array" |
| }, |
| "HTTPResponseCodes": { |
| "description": "HTTP request statistics since last reset.", |
| "items": { |
| "anyOf": [ |
| { |
| "$ref": "#/definitions/HTTPStatusCodeCount" |
| }, |
| { |
| "type": "null" |
| } |
| ] |
| }, |
| "longDescription": "The value of this property shall be the total cumulative number of http responses sent for each return code from this service root. HTTP return codes not present in the collection can assumed to have a count of zero.", |
| "readonly": true, |
| "type": "array" |
| }, |
| "ProcessingLatencyMs": { |
| "description": "A property indicating theperty shall be the total cumulative time in milliseconds that any request was sp.", |
| "longDescription": "The value of this property shall be the total cumulative time in milliseconds that any request was spent being processed.", |
| "readonly": true, |
| "type": [ |
| "integer", |
| "null" |
| ] |
| }, |
| "QueueLatencyMs": { |
| "description": "A property indicating the total time all requests spent queued.", |
| "longDescription": "The value of this property shall be the total cumulative time in milliseconds that any request was spent in queued.", |
| "readonly": true, |
| "type": [ |
| "integer", |
| "null" |
| ] |
| }, |
| "RequestLatencyMs": { |
| "description": "A property indicating the total time take by all requests to setup for processing.", |
| "longDescription": "The value of this property shall be the total cumulative time in milliseconds that any request was spent setup for processing..", |
| "readonly": true, |
| "type": [ |
| "integer", |
| "null" |
| ] |
| }, |
| "ResponseLatencyMs": { |
| "description": "A property indicating the total time spent by all requests sending responses.", |
| "longDescription": "The value of this property shall be the total cumulative time in milliseconds that any request was spent sending a response.", |
| "readonly": true, |
| "type": [ |
| "integer", |
| "null" |
| ] |
| } |
| }, |
| "required": [ |
| "@odata.id", |
| "@odata.type", |
| "Id", |
| "Name" |
| ], |
| "type": "object" |
| }, |
| "gRPCStatusCodeCount": { |
| "additionalProperties": false, |
| "description": "Number of responses sent organized by gRPC status codes.", |
| "longDescription": "Object describing the gRPC responses sent by gRPC return codes.", |
| "patternProperties": { |
| "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| "description": "This property shall specify a valid odata or Redfish property.", |
| "type": [ |
| "array", |
| "boolean", |
| "integer", |
| "number", |
| "null", |
| "object", |
| "string" |
| ] |
| } |
| }, |
| "properties": { |
| "Count": { |
| "description": "A counter indicating the total number responses sent with this status code.", |
| "longDescription": "The value of this property shall be the total cumulative number of rpcs resulting in status code since last reset.", |
| "readonly": true, |
| "type": [ |
| "integer", |
| "null" |
| ] |
| }, |
| "StatusCode": { |
| "description": "The gRPC status code from https://grpc.github.io/grpc/core/md_doc_statuscodes.html.", |
| "longDescription": "The value of this property shall be the gRPC status code (OK, INTERNAL) that this statistic represents.", |
| "readonly": true, |
| "type": [ |
| "integer", |
| "null" |
| ] |
| } |
| }, |
| "type": "object" |
| }, |
| "HTTPMethodCount": { |
| "additionalProperties": false, |
| "description": "Number of requests organized by HTTP method.", |
| "longDescription": "Object describing the gRPC request by HTTP methods.", |
| "patternProperties": { |
| "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| "description": "This property shall specify a valid odata or Redfish property.", |
| "type": [ |
| "array", |
| "boolean", |
| "integer", |
| "number", |
| "null", |
| "object", |
| "string" |
| ] |
| } |
| }, |
| "properties": { |
| "Count": { |
| "description": "A counter indicating the total number of RPCs for this method.", |
| "longDescription": "The value of this property shall be the total cumulative number of rpcs for this HTTP method since last reset.", |
| "readonly": true, |
| "type": [ |
| "integer", |
| "null" |
| ] |
| }, |
| "Method": { |
| "description": "The HTTP methods from rf2616.", |
| "longDescription": "The value of this property shall be the HTTP method (get, patch, post, delete, put) that this statistic represents..", |
| "readonly": true, |
| "type": [ |
| "integer", |
| "null" |
| ] |
| } |
| }, |
| "type": "object" |
| }, |
| "HTTPStatusCodeCount": { |
| "additionalProperties": false, |
| "description": "Number of responses sent organized by HTTP return codes.", |
| "longDescription": "Object describing the HTTP responses sent by HTTP return codes.", |
| "patternProperties": { |
| "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| "description": "This property shall specify a valid odata or Redfish property.", |
| "type": [ |
| "array", |
| "boolean", |
| "integer", |
| "number", |
| "null", |
| "object", |
| "string" |
| ] |
| } |
| }, |
| "properties": { |
| "Count": { |
| "description": "A counter indicating the total number responses sent with this return code.", |
| "longDescription": "The value of this property shall be the total cumulative number of responses sent with this return code since last reset.", |
| "readonly": true, |
| "type": [ |
| "integer", |
| "null" |
| ] |
| }, |
| "StatusCode": { |
| "description": "The HTTP return code from rfc9110.", |
| "longDescription": "The value of this property shall be the http return code (200, 201, 500) that this statistic represents.", |
| "readonly": true, |
| "type": [ |
| "integer", |
| "null" |
| ] |
| } |
| }, |
| "type": "object" |
| }, |
| "Oem": { |
| "additionalProperties": true, |
| "description": "OemManagerDiagnosticData Oem properties.", |
| "patternProperties": { |
| "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { |
| "description": "This property shall specify a valid odata or Redfish property.", |
| "type": [ |
| "array", |
| "boolean", |
| "number", |
| "null", |
| "object", |
| "string" |
| ] |
| } |
| }, |
| "properties": { |
| "Google": { |
| "anyOf": [ |
| { |
| "$ref": "#/definitions/Google" |
| }, |
| { |
| "type": "null" |
| } |
| ] |
| } |
| }, |
| "type": "object" |
| } |
| }, |
| "owningEntity": "Google", |
| "title": "#GoogleManagerDiagnosticData" |
| } |