Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

[firebase_performance] Fix incorrect setting of Trace & HttpMetric attributes#1277

Merged
bparrishMines merged 2 commits intoflutter:masterfrom
invertase:@salakar/bugfix/perf
Feb 28, 2019
Merged

[firebase_performance] Fix incorrect setting of Trace & HttpMetric attributes#1277
bparrishMines merged 2 commits intoflutter:masterfrom
invertase:@salakar/bugfix/perf

Conversation

@Salakar
Copy link
Member

@Salakar Salakar commented Feb 24, 2019

Description

The args for trace and metric attributes are the wrong way around, attribute value is where the key should be and vice-versa. This PR swaps them around for both.

iOS FIRPerformanceAttributable definition

image

Changelog

  • Fixed a bug where attributes for Traces and HttpMetrics were incorrectly using the attribute value as the attributes' name.

Copy link
Contributor

@bparrishMines bparrishMines left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks for the contribution! I'll submit the other PR (#1278) when it's tests are finished.

@bparrishMines bparrishMines merged commit ea7d4f8 into flutter:master Feb 28, 2019
romaluca pushed a commit to romaluca/plugins that referenced this pull request Mar 6, 2019
julianscheel pushed a commit to jusst-engineering/plugins that referenced this pull request Mar 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants