Skip to content

Commit

Permalink
Swap collector.name and instrumentation.name according to new Accepta…
Browse files Browse the repository at this point in the history
…nce Criteria: (#323)

* Pass nativePlatform as instrumentation insights name, collector.name is hybrid paltform.

* Swap collector.name and instrumention.name according to new Acceptance Criteria.
  • Loading branch information
cdillard-NewRelic authored Oct 30, 2024
1 parent 60a7e15 commit 1617259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Agent/Utilities/NRLogger.m
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ - (NSData*) jsonDictionary:(NSDictionary*)message {
NRLogMessageInstrumentationProviderKey: NRLogMessageMobileValue, // 10
NRLogMessageInstrumentationNameKey: nativePlatform, // 11
NRLogMessageInstrumentationVersionKey: [NRMAAgentConfiguration connectionInformation].deviceInformation.agentVersion, // 12
NRLogMessageInstrumentationCollectorKey: name}; // 13
NRLogMessageInstrumentationCollectorKey: nativePlatform}; // 13


NSMutableDictionary *providedAttributes = [message mutableCopy];
Expand Down

0 comments on commit 1617259

Please sign in to comment.