Pivotal Cloud Foundry (PCF) Developer – djitz.com https://djitz.com Giving Positive Impact On People's Lives Thu, 05 Apr 2018 01:58:45 +0000 en-US hourly 1 https://wordpress.org/?v=5.4.4 Pivotal Cloud Foundry (PCF) Developer Certification Study Guide – Metrics https://djitz.com/certification/pivotal-cloud-foundry-pcf-developer-certification-study-guide-metrics/ https://djitz.com/certification/pivotal-cloud-foundry-pcf-developer-certification-study-guide-metrics/#respond Mon, 11 Dec 2017 05:11:37 +0000 http://djitz.com/?p=1774 PCF Developer Certification Review - Metrics

PCF Developer Certification Review – Metrics

 What is “PCF Metrics”?

PCF Metrics is a graphical tool provided by Pivotal Cloud Foundry that stores logs, metrics data, and event data from apps running on PCF for the past two weeks. It provides charts and graphics of the data to help operators and developers better understand the health and performance of their apps.

To access it, there are two ways:

Approach 1

https://metrics.run.pivotal.io landing page

https://metrics.run.pivotal.io landing page

Go to https://metrics.run.pivotal.io/ and select application to open its metrics view, or

Approach 2

Link to PCF Metrics from Apps Overview on Apps Manager

Link to PCF Metrics from Apps Overview on Apps Manager

Open PCF app Overview on PCF Apps Manager and click on “View in PCF Metrics” link.

What information does it provide?

PCF Metrics Charts

PCF Metrics Charts

Container metrics:

  • CPU usage
  • Memory usage
  • Disk usage

Network metrics:

  • Requests
  • HTTP errors
  • Response times

App Events:

Update, Start, Stop, Crash, SSH, Staging failure

Logs:
Search, filter, and download App logs

Trace Explorer:
Traces of a request flows

Do you understand how to use the metrics to spot a badly performing application? For example: CPU or memory usage?

Container Metrics
Observation Possible cause(s) Relieve(s)
Spike in CPU a process that is computationally heavy increase number of app instances
Spike in Memory resource leak in the code increase app memory
Spike in Disk app is writing logs to files instead of STDOUT set app to write logs to STDOUT
app is caching data to local disk set app to use external caching services
app is serializing huge sessions to disk set app to store sessions to external services
Network Metrics
Observation Possible cause(s) Relieve(s)
Spike in response times Users are waiting longer to use app Scale app instances to spread the workload
Spike in HTTP errors One or more 5xx errors occurred Check logs for more info
Spike in HTTP requests More users are using app Scale app instances

Reference:

Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY
]]>
https://djitz.com/certification/pivotal-cloud-foundry-pcf-developer-certification-study-guide-metrics/feed/ 0
Pivotal Cloud Foundry (PCF) Developer Certification Study Guide – Application Performance Monitor https://djitz.com/certification/pivotal-cloud-foundry-pcf-developer-certification-study-guide-application-performance-monitor/ https://djitz.com/certification/pivotal-cloud-foundry-pcf-developer-certification-study-guide-application-performance-monitor/#respond Wed, 06 Dec 2017 05:08:04 +0000 http://djitz.com/?p=1760 PCF Developer Certification Review - Application Performance Monitor

PCF Developer Certification Review – Application Performance Monitor

What is performance monitoring?

Performance monitoring is a group of applications that provides tools for monitoring application performance, tracking key metrics, and identifying the root cause of performance issues.

How is performance monitoring implemented for Cloud Foundry applications?

To use performance monitoring for CF apps, user choose the APM tool service in marketplace.

New Relic Application Performance Monitoring on PCF Marketplace

New Relic Application Performance Monitoring on PCF Marketplace

Why is a buildpack involved?

Buildpack is involved because the APM agent needs to be included with the Cloud Foundry application in the droplet.

What APM tools are available with Cloud Foundry?

Some of the APM tools available with Cloud Foundry are; Dynatrace, New Relic, and PCF Metrics.

For more list of APM tools for Cloud Foundry, go to Pivotal Marketplace Services – Monitoring, Metrics, and Logging page.

List of Monitoring, Metrics, and Logging Services available on Pivotal Marketplace

List of Monitoring, Metrics, and Logging Services available on Pivotal Marketplace

Review Test

Test your knowledge on PCF Application Performance Monitor:

References:

Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY
]]>
https://djitz.com/certification/pivotal-cloud-foundry-pcf-developer-certification-study-guide-application-performance-monitor/feed/ 0
Pivotal Cloud Foundry (PCF) Developer Certification Study Guide – Autoscaler https://djitz.com/certification/pivotal-cloud-foundry-pcf-developer-certification-study-guide-autoscaler/ https://djitz.com/certification/pivotal-cloud-foundry-pcf-developer-certification-study-guide-autoscaler/#respond Fri, 01 Dec 2017 04:34:07 +0000 http://djitz.com/?p=1742 What is the Autoscaler?

It’s a marketplace service that automatically scale bound application based on these configurations:

  • CPU utilization
  • HTTP Throughput
  • HTTP Latency
  • Time schedules
Autoscaler Service on PCF Marketplace

Autoscaler on PCF Marketplace

How would you use it?

It’s very useful to ensure that enough application instances is available to serve requests, and also to ensure no over allocation when request number is low.

What can you configure?

We can configure number of minimum and maximum instances based on CPU utilization, HTTP throughput per second, and HTTP latency time.
We also can schedule number of minimum and maximum instances based on date, time, and day of the week.

PCF Autoscaler Management Setting

PCF Autoscaler Management Setting

Screenshot of PCF Autoscaler Scaling Rules Options

Screenshot of PCF Autoscaler Scaling Rules Options

Do you understand Autoscaler schedules?

Yes, it allows autoscaler to automatically scale number of minimum and maximum application instances based on date, time, and day of the week.

Screenshot of PCF Autoscaler Scheduler Setting

Screenshot of PCF Autoscaler Scheduler Setting

Review Test

Test your knowledge on PCF Autoscaler:

Reference:

Pivotal Cloud Foundry Official Documentation – Using Autoscaler

]]>
https://djitz.com/certification/pivotal-cloud-foundry-pcf-developer-certification-study-guide-autoscaler/feed/ 0
Pivotal Cloud Foundry (PCF) Developer Certification Exam Review Questions Set 15 – Route Services https://djitz.com/guides/pivotal-cloud-foundry-pcf-developer-certification-exam-review-questions-set-15-route-services/ https://djitz.com/guides/pivotal-cloud-foundry-pcf-developer-certification-exam-review-questions-set-15-route-services/#respond Tue, 14 Nov 2017 01:43:31 +0000 http://djitz.com/?p=1728

Pivotal Cloud Foundry Developer Certification Review Questions Set 15 - Route Services

Start
Congratulations - you have completed Pivotal Cloud Foundry Developer Certification Review Questions Set 15 - Route Services. You scored %%SCORE%% out of %%TOTAL%%. Your performance has been rated as %%RATING%%
Your answers are highlighted below.
Return
Shaded items are complete.
12345
End
Return

NOTES: For other review question sets and resources, you may want to check Pivotal Cloud Foundry (PCF) Developer Certification Test Resources page.

]]>
https://djitz.com/guides/pivotal-cloud-foundry-pcf-developer-certification-exam-review-questions-set-15-route-services/feed/ 0
Pivotal Cloud Foundry (PCF) Developer Certification Exam Review Questions Set 14 – Continuous Delivery https://djitz.com/guides/pivotal-cloud-foundry-pcf-developer-certification-exam-review-questions-set-14-continuous-delivery/ https://djitz.com/guides/pivotal-cloud-foundry-pcf-developer-certification-exam-review-questions-set-14-continuous-delivery/#respond Mon, 13 Nov 2017 03:11:21 +0000 http://djitz.com/?p=1725

Pivotal Cloud Foundry Developer Certification Review Questions Set 14 - Continuous Delivery

Start

Congratulations - you have completed Pivotal Cloud Foundry Developer Certification Review Questions Set 14 - Continuous Delivery.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Return
Shaded items are complete.
1234End
Return

NOTES: For other review question sets and resources, you may want to check Pivotal Cloud Foundry (PCF) Developer Certification Test Resources page.

]]>
https://djitz.com/guides/pivotal-cloud-foundry-pcf-developer-certification-exam-review-questions-set-14-continuous-delivery/feed/ 0
Pivotal Cloud Foundry (PCF) Tutorials and Courses List – Free and Paid https://djitz.com/software-development-2/pivotal-cloud-foundry-tutorials-and-courses-free-and-paid/ https://djitz.com/software-development-2/pivotal-cloud-foundry-tutorials-and-courses-free-and-paid/#respond Sun, 12 Nov 2017 16:07:42 +0000 http://djitz.com/?p=1712 Notes: Here’s a list of Pivotal Cloud Foundry tutorials and courses available online (both free or paid) that I compiled. Feel free to drop a comment if you know other sources. 🙂

 

 

]]>
https://djitz.com/software-development-2/pivotal-cloud-foundry-tutorials-and-courses-free-and-paid/feed/ 0
Pivotal Cloud Foundry (PCF) Developer Certification Exam Review Questions Set 13 – Service Brokers https://djitz.com/guides/pivotal-cloud-foundry-pcf-developer-certification-exam-review-questions-set-13-service-brokers/ https://djitz.com/guides/pivotal-cloud-foundry-pcf-developer-certification-exam-review-questions-set-13-service-brokers/#comments Thu, 09 Nov 2017 02:07:33 +0000 http://djitz.com/?p=1709

Pivotal Cloud Foundry Developer Certification Review Questions Set 13 - Service Brokers

Start
Congratulations - you have completed Pivotal Cloud Foundry Developer Certification Review Questions Set 13 - Service Brokers. You scored %%SCORE%% out of %%TOTAL%%. Your performance has been rated as %%RATING%%
Your answers are highlighted below.
Return
Shaded items are complete.
12345
End
Return

NOTES: For other review question sets and resources, you may want to check Pivotal Cloud Foundry (PCF) Developer Certification Test Resources page.

]]>
https://djitz.com/guides/pivotal-cloud-foundry-pcf-developer-certification-exam-review-questions-set-13-service-brokers/feed/ 4
Pivotal Cloud Foundry (PCF) Developer Certification Exam Review Questions Set 12 – Buildpacks https://djitz.com/guides/pivotal-cloud-foundry-pcf-developer-certification-exam-review-questions-set-12-buildpacks/ https://djitz.com/guides/pivotal-cloud-foundry-pcf-developer-certification-exam-review-questions-set-12-buildpacks/#respond Wed, 08 Nov 2017 03:05:24 +0000 http://djitz.com/?p=1706

Pivotal Cloud Foundry Developer Certification Review Questions Set 12 - Buildpacks

Start
Congratulations - you have completed Pivotal Cloud Foundry Developer Certification Review Questions Set 12 - Buildpacks. You scored %%SCORE%% out of %%TOTAL%%. Your performance has been rated as %%RATING%%
Your answers are highlighted below.
Return
Shaded items are complete.
12345
6End
Return

NOTES: For other review question sets and resources, you may want to check Pivotal Cloud Foundry (PCF) Developer Certification Test Resources page.

]]>
https://djitz.com/guides/pivotal-cloud-foundry-pcf-developer-certification-exam-review-questions-set-12-buildpacks/feed/ 0
Pivotal Cloud Foundry (PCF) Developer Certification Exam Review Questions Set 11 – Application Performance Monitor https://djitz.com/guides/pivotal-cloud-foundry-pcf-developer-certification-exam-review-questions-set-11-application-performance-monitor/ https://djitz.com/guides/pivotal-cloud-foundry-pcf-developer-certification-exam-review-questions-set-11-application-performance-monitor/#respond Tue, 07 Nov 2017 01:42:42 +0000 http://djitz.com/?p=1703

Pivotal Cloud Foundry Developer Certification Review Questions Set 11 - Application Performance

Start
Congratulations - you have completed Pivotal Cloud Foundry Developer Certification Review Questions Set 11 - Application Performance. You scored %%SCORE%% out of %%TOTAL%%. Your performance has been rated as %%RATING%%
Your answers are highlighted below.
Return
Shaded items are complete.
1234End
Return

NOTES: For other review question sets and resources, you may want to check Pivotal Cloud Foundry (PCF) Developer Certification Test Resources page.

]]>
https://djitz.com/guides/pivotal-cloud-foundry-pcf-developer-certification-exam-review-questions-set-11-application-performance-monitor/feed/ 0
Pivotal Cloud Foundry (PCF) Developer Certification Exam Review Questions Set 10 – Application Autoscaler https://djitz.com/guides/pivotal-cloud-foundry-pcf-developer-certification-exam-review-questions-set-10-application-autoscaler/ https://djitz.com/guides/pivotal-cloud-foundry-pcf-developer-certification-exam-review-questions-set-10-application-autoscaler/#respond Mon, 06 Nov 2017 00:12:06 +0000 http://djitz.com/?p=1700

Pivotal Cloud Foundry Developer Certification Review Questions Set 10 - Application Autoscaler

Start
Congratulations - you have completed Pivotal Cloud Foundry Developer Certification Review Questions Set 10 - Application Autoscaler. You scored %%SCORE%% out of %%TOTAL%%. Your performance has been rated as %%RATING%%
Your answers are highlighted below.
Return
Shaded items are complete.
12345
6End
Return

NOTES: For other review question sets and resources, you may want to check Pivotal Cloud Foundry (PCF) Developer Certification Test Resources page.

]]>
https://djitz.com/guides/pivotal-cloud-foundry-pcf-developer-certification-exam-review-questions-set-10-application-autoscaler/feed/ 0