Skip to content

Commit

Permalink
Merge pull request elastic#4 from bryce-b/mobile-experience
Browse files Browse the repository at this point in the history
updated agent filter name to 'iOS/swift'
  • Loading branch information
shahzad31 authored Jun 3, 2021
2 parents 850f555 + e8a678f commit 5a260b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export const FieldLabels: Record<string, string> = {
'http.request.method': 'Request Method',
'labels.net_connection_type': 'Connection Type',
'host.os.full': 'Host OS',
'service.version': 'Service Version',
'host.os.platform': 'OS Platform',
'labels.device_model': ' Device Model',
// eslint-disable-next-line @typescript-eslint/naming-convention
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,20 @@ export function getResponseDurationLensConfig({ seriesId, indexPattern }: Config
'labels.net_connection_type',
'host.os.platform',
'host.os.full',
'service.version',
],
breakdowns: [
'labels.net_connection_carrier_name',
'labels.device_model',
'labels.net_connection_type',
'host.os.platform',
'host.os.full',
'service.version',
'labels.net_connection_carrier_isoCountryCode',
],
filters: [
...buildPhraseFilter('transaction.type', 'request', indexPattern),
...buildPhraseFilter('agent.name', 'opentelemetry/swift', indexPattern),
...buildPhraseFilter('agent.name', 'iOS/swift', indexPattern),
],
labels: {
...FieldLabels,
Expand Down

0 comments on commit 5a260b2

Please sign in to comment.