Service pages

Service pages

This feature isn't available to all Chronosphere users and might not be visible in your app. For information about enabling this feature in your environment, contact Chronosphere Support.

A service page takes advantage of consistent metric tagging to automatically produce queries for common compute and RPC metrics values, generate data visualization panels based on those interactive queries, and lists the status of of related monitors.

Click Edit service to update the following values:

  • Service name: Change the service name. This value defaults to the name discovered by Chronosphere.
  • Parent team: Set a team to own the service.
  • Select a notification policy: Choose an optional notification policy.
  • Service description: Add a description of your service to help others understand the service's purpose.

Service page contents can't be directly modified or customized. Chronosphere maintains these views for you as a streamlined entry point to a service's metrics.

If you require more customization than a service page provides, you can create a dashboard, write your own queries, or configure your own data visualization panels. If you need a more customizable home page for a team or collection, see Team and Collection home pages.

The service page exposes the queries that it uses for the data visualization panels. You can copy and paste them into the Metrics Explorer or a dashboard you've created and modify them as needed.

Service pages support global filters.

Service page components

The service page header contains links to the service's related team and a dropdown to select a different service.

The service page also contains these columns:

  • The primary column displays data visualization panels for compute metrics and RPC metrics (if available), controls for filtering these panels (including by time span), and a list of all monitors related to the service (along with their statuses).
  • The sidebar column collects links to related resources, which can include traces in the Trace Explorer, change events in the Changes Explorer, and dashboards.

Visualization panels

Each service displays visualization panels populated with queries for commonly tracked metrics.

Compute metrics panels visualize CPU Usage, Memory Usage, and Network Usage for all pods with metrics tagged for this service.

RPC panels visualize Requests per second, Errors per second, and Duration P99 (slowest request in the 99th percentile of requests). Panels with an alert have truncated queries. Panels with a warning use a query which took too long.

Filter metrics

You can filter metrics by labels and their values. To view and set filters for available labels:

  1. Click the Filter dropdown. This displays a list of all labels and selectable values for them.
  2. Click a label value to select it. This filters all queries in the service page's visualization panels to display only the metrics with those label values.

If any filters are active, they appear as a list of labels and values in the Filter field. To remove a filter, click the X button on that filter in the list.

Interact with panels

A service page's visualization panels display data as time-series line charts, which are interactive.

  • Hold the pointer over lines in a chart to view data at that point.
  • Click a line to pin the data view at that point. Click Show All in the view to toggle between showing only the selected line and all lines at that point in time.
  • Click and drag a region in the chart to narrow the view to a time range. Selecting a time range modifies all panels simultaneously, which helps you correlate data across the different types of data displayed on the page.

You can also select a time range by clicking the calendar icon , which displays either a list of time ranges or the option to define a custom range.

Filter panels

You can filter each group of panels collectively. You can filter CPU Metrics by pod and RPC Metrics by service, method, and response code.

To filter the panels:

  1. For CPU Metrics, click the pod dropdown. For RPC metrics, click the grpc_service, grpc_method, and grpc_code dropdowns.
  2. Select one or more pods from the list, or select All to show all pods.

Explore queries

Each panel's visualization uses an automatically generated metrics query. You can't modify the query or visualization type in this view. To edit and inspect a panel's query and examine its results in a larger view, you can open it in the Metrics Explorer.

You can also copy the query from the Metrics Explorer and paste it into other tools, including a visualization panel on a dashboard.

To open a panel's query in the Metrics Explorer:

  1. Click the three vertical dots icon in the panel you want to explore.
  2. In the menu that appears, click Open in Metrics Explorer.

Dependency map

Use dependency maps to review trending requests, errors, and latencies for the selected service, and for its upstream and downstream services. You must ingest tracing data to use dependency maps.

Drag the dependency map to change the focus of connected services. You can also take the following actions:

  • Hold the pointer over a service to display total requests and total errors.
  • Click a service name to display a breakdown of Total, Incoming, and Outgoing requests, errors, and leaf errors.
  • Highlight trending Requests, Errors, Median latency, and Outlier latency.
  • Click the pop-out icon to open the selected service's page in a new window.

Understand trends

Make a selection from the Highlight trending menu. An arrow indicates if the selected trend is increasing or decreasing. Select from the following trending items:

  • Requests
  • Errors
  • Median latency (p50)
  • Outlier latency (p99)

See more details

On your service's page, click the Show more details link to load the Compute(cAdvisor) page with filters for the Service, Container and Pod based on the service page you came from. For example, if your service is named gateway and you haven't selected a pod, the page loads with the gateway service selected. This page supports global filters.

Metrics on the Compute(cAdvisor) page are defined in Monitoring cAdvisor with Prometheus (opens in a new tab). Chronosphere uses these metrics to display CPU, memory, network, and disk usage metrics during the selected time period.

The first group of graphs displays the average and maximum values for that metric. In the CPU, Memory, Network, and Disk details sections, the relevant statics might be further broken down by pod and node if those statistics are available.

With this information, you can more clearly visualize which pods or nodes have the highest contributions to each statistic.

Use the Compare menu to select a second time period to graph against the current selected period.

Drag in any chart to select a narrower time frame across all charts on the page.