ability to generate performance metrics

Registered by Arvind Tiwari

Problem:

In a soa deployment architecture performance metrics are key indicators of service health and also impact the SLAs. In OpenStack based cloud deployment Barbican will be a crucial component and governance will be needed to derive KPIs.

We need configurable capability in barbican to generate performance metrics for major APIs (optionally at method level too) . This performance metrics will help defining the KPIs and also linked to alert system if needed.

Solution:

Develop the common reusable components (decorators) and associate with API entry points.
This decorators will spit (sync) metrics in regular interval.

Following is rough metrics structure
{
  "Metrics": [
    {
      "resource": "KeystoreSecret",
      "opMetrics": {
        "entryPoint": {
          "opName": "Secret- Create secret",
          "opCount": "1000",
          "errorCount": "20",
          "latency": {
            "minLatency": "8586087",
            "avgLatency": "8586087",
            "maxLatency": "8586087",
            "lastLatency": "8586087"
          }
        }
      }
    },
    {
      "resource": "KeystoreOrder",
      "opMetrics": {
        "entryPoint": {
          "opName": "Order- Create Order",
          "opCount": "100",
          "errorCount": "10",
          "latency": {
            "minLatency": "8586087",
            "avgLatency": "8586087",
            "maxLatency": "8586087",
            "lastLatency": "8586087"
          }
        }
      }
    },
    {
      "resource": "KeystoreSecret",
      "opMetrics": {
        "entryPoint": {
          "opName": "Secret- Get secret",
          "opCount": "50000",
          "errorCount": "200",
          "latency": {
            "minLatency": "8586087",
            "avgLatency": "8586087",
            "maxLatency": "8586087",
            "lastLatency": "8586087"
          }
        }
      }
    }
  ]
}

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Arvind Tiwari
Direction:
Needs approval
Assignee:
Arvind Tiwari
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Douglas Mendizábal

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.