Download presentation
Presentation is loading. Please wait.
Published byAdam Fitzgerald Modified over 9 years ago
1
COPYRIGHT © 2012 ALCATEL-LUCENT. ALL RIGHTS RESERVED. Application Monitoring in TOSCA Presenter: Ifat Afek, Alcatel-Lucent Jan 2015
2
2 COPYRIGHT © 2012 ALCATEL-LUCENT. ALL RIGHTS RESERVED. Application Monitoring Use Cases Use Case 1 – poll application’s metrics (TOSCA-189) Define endpoints for polling metrics from a SoftwareComponent Define metrics based on these endpoints Define policies based on these metrics Use Case 2 – application pushes metrics Define monitoring API Define semi-endpoints to be pushed by the SoftwareComponent’s agent to monitoring API Define metrics based on these endpoints Define policies based on these metrics Use Case 3 – metrics are not defined in TOSCA Define monitoring API Application’s agent pushes some metrics, not defined in TOSCA file Define policies based on metrics that may or may not be pushed by the application
3
3 COPYRIGHT © 2012 ALCATEL-LUCENT. ALL RIGHTS RESERVED. Use Case 1 – Poll Application’s Metrics (TOSCA-189) Node Templates App1 get_num_errors http://... get_num_transactions http://... Metrics Num_Errors Endpoint: App1.get_num_errors Every 1min Aggregation: AVG Num_Transactions Endpoint: App1.get_num_transactions Every 1min Aggregation: AVG Policies Raise Alert If Num_Errors > 10 Scale out If Num_Transactions > 10000
4
4 COPYRIGHT © 2012 ALCATEL-LUCENT. ALL RIGHTS RESERVED. Use Case 1 – Poll Application’s Metrics Monitoring Engine Orchestrator Server1 App1 get_num_errors get_num_transactions PolicyEngine 2. Collect Metrics http://... DB 3. Store Metrics 4. Query Metrics 5. Raise Alert / Scale Request 1. Deploy Application
5
5 COPYRIGHT © 2012 ALCATEL-LUCENT. ALL RIGHTS RESERVED. Use Case 2 – Application’s Agent Pushes Metrics Node Templates App1 get_num_errors Push get_num_transactions Push Metrics Num_Errors Endpoint: App1.get_num_errors Every 1min Aggregation: AVG Num_Transactions Endpoint: App1.get_num_transactions Every 1min Aggregation: AVG Policies Raise Alert If Num_Errors > 10 Scale out If Num_Transactions > 10000
6
6 COPYRIGHT © 2012 ALCATEL-LUCENT. ALL RIGHTS RESERVED. Use Case 2 – Application’s Agent Pushes Metrics Monitoring Engine Orchestrator Server1 App1 PolicyEngine 2. Push Metrics num_errors num_transactions DB 3. Store Metrics 4. Query Metrics 5. Raise Alert / Scale Request App1 Agent 1. Collect 1. Deploy Application
7
7 COPYRIGHT © 2012 ALCATEL-LUCENT. ALL RIGHTS RESERVED. Use Case 3 – Metrics are Not Defined in TOSCA Node Templates App1 Policies Raise Alert If Num_Errors > 10 Scale out If Num_Transactions > 10000
8
8 COPYRIGHT © 2012 ALCATEL-LUCENT. ALL RIGHTS RESERVED. Use Case 3 – Metrics are Not Defined in TOSCA Monitoring Engine Orchestrator Server1 App1 PolicyEngine 2. Push Metrics num_errors num_transactions DB 3. Store Metrics 4. Query Metrics 5. Raise Alert / Scale Request App1 Agent 1. Collect 1. Deploy Application
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.