Skip to content

Commit d03faf3

Browse files
committed
Manually editing these files as they are still a dependency and are no longer autogenerated
1 parent f752315 commit d03faf3

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

core/src/main/java/com/microsoft/applicationinsights/internal/schemav2/PerformanceCounterData.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ protected void serializeContent(JsonTelemetryDataSerializer writer) throws IOExc
9898
Preconditions.checkNotNull(writer, "writer must be a non-null value");
9999

100100
writer.write("ver", ver);
101-
writer.write("categoryName", categoryName);
102-
writer.write("counterName", counterName);
103-
writer.write("instanceName", instanceName);
101+
writer.write("categoryName", categoryName, 1000, false);
102+
writer.write("counterName", counterName, 1000, false);
103+
writer.write("instanceName", instanceName, 1000, false);
104104
writer.write("value", value);
105105
writer.write("properties", properties);
106106
}

core/src/main/java/com/microsoft/applicationinsights/internal/schemav2/SessionStateData.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131

3232
/**
3333
* Created by gupele on 2/19/2015.
34+
*
35+
* Our end point does not accept this any more. The usage of this class and any
36+
* of its associated methods is deprecated. Our end point no longer accepts
37+
* SessionStateData
3438
*/
3539
@Obsolete
3640
public final class SessionStateData extends Domain {
@@ -59,6 +63,6 @@ protected void serializeContent(JsonTelemetryDataSerializer writer) throws IOExc
5963
Preconditions.checkNotNull(writer, "writer must be a non-null value");
6064

6165
writer.write("ver", ver);
62-
writer.write("state", state.toString());
66+
writer.write("state", state.toString(), 1000, false);
6367
}
6468
}

0 commit comments

Comments
 (0)