Logo: Relish

  1. Sign in

Project: Console

Service Metrics

  • @dxpcloud
  • @paas
  • @teardown_projects
Background
Given
I sign in to WeDeploy as a test user
Scenarios
View Metrics for a service
Given
I create a project with ID "zeta1"
And
I install a "WeDeploy Data" service with id "data1" for the project "zeta1"
When
I click "Monitoring" in the sidebar
Then
I should see the metrics for the following:
CPU
Memory
Transfer
View date range for last 30 days
Given
I create a project with ID "zeta2"
And
I install a "WeDeploy Data" service with id "data1" for the project "zeta2"
When
I click "Monitoring" in the sidebar
And
I select "Last 30 days" from the metrics period dropdown
Then
I should see a date range label containing {last 30 days}
And
I select "Last 5 minutes" from the metrics period dropdown
And
I should not see a date range label
And
I select "Last 24 Hours" from the metrics period dropdown
And
I should not see a date range label
View Metrics for multiple services
Given
I create a project with ID "zeta3"
And
I install a "WeDeploy Data" service with id "data1" for the project "zeta3"
And
I install a "WeDeploy Data" service with id "data2" for the project "zeta3"
When
I click "Monitoring" in the sidebar
And
I select "data1" from the service dropdown
Then
I should see the metrics for the following:
CPU
Memory
Transfer
And
I select "data2" from the service dropdown
And
I should see the metrics for the following:
CPU
Memory
Transfer
Metrics are not displayed when there are no installed services
Given
I create a project with ID "zeta4"
When
I click "Monitoring" in the sidebar
Then
I should see the page title "Monitoring"
And
I should see the text "No Metrics Yet"

Project must have dynatraceId in the project metadata

Given
I create a project with ID "zeta5"
When
I click "Monitoring" in the sidebar
Then
I should not see the "Advanced" tab
Given
I create a project with ID "zeta6"
And
I update the project "zeta6" metadata with
{"dynatraceId": 12345}
When
I click "Monitoring" in the sidebar
And
I click the "Advanced" tab
Then
Go To Dynatrace Dashboard button should open "12345.live.dynatrace.com"

Last published over 3 years ago by Christie Yoo.