Skip to content

Instantly share code, notes, and snippets.

@mbeale
Last active March 10, 2020 13:27
Show Gist options
  • Save mbeale/b0dac10f646524291860d0de4bef9dc7 to your computer and use it in GitHub Desktop.
Save mbeale/b0dac10f646524291860d0de4bef9dc7 to your computer and use it in GitHub Desktop.
yaml for a remote service comparison
---
name: Service Comparison
default_tag_set_id:
charts:
- name: Response Size
type: line
streams:
- group_function: average
summary_function: average
tags:
- name: transaction
grouped: true
metric: {response_custom_metric}
- name: Request Size
type: line
streams:
- group_function: average
summary_function: average
tags:
- name: transaction
grouped: true
metric: {request_custom_metric}
- name: Exceptions Count
type: line
streams:
- group_function: average
summary_function: average
tags:
- values:
- {service_name}
name: service
- grouped: true
name: transaction
metric: trace.service.exceptions.count
- name: Service 1 Exceptions
type: bignumber
streams:
- group_function: average
summary_function: average
tags:
- values:
- {service_name}
name: service
- values:
- {service_1_transaction_name}
name: transaction
metric: trace.service.exceptions.count
use_last_value: false
format:
enable_format: false
- name: Response Times
type: line
streams:
- group_function: average
summary_function: average
tags:
- name: transaction
grouped: true
- name: service
values:
- {service_name}
metric: trace.service.transaction.response_time
- name: Service 2 Exceptions
type: bignumber
streams:
- group_function: average
summary_function: average
tags:
- values:
- {service_name}
name: service
- values:
- {service_2_transaction_name}
name: transaction
metric: trace.service.exceptions.count
use_last_value: false
format:
enable_format: false
layout:
- col: 5
row: 3
width: 8
height: 2
- col: 9
row: 1
width: 4
height: 2
- col: 1
row: 1
width: 4
height: 2
- col: 1
row: 3
width: 2
height: 2
- col: 5
row: 1
width: 4
height: 2
- col: 3
row: 3
width: 2
height: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment