Skip to content

Commit 505d28c

Browse files
authored
Merge pull request #2103 from digma-ai/modify_user_stats_posthog
add groupedByClassification to user-stats posthog
2 parents 054fbed + 1bb8a0f commit 505d28c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

ide-common/src/main/kotlin/org/digma/intellij/plugin/posthog/ActivityMonitor.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@ class ActivityMonitor(private val project: Project) : Disposable {
450450
"trace.depth.avg" to uss.traceDepthAvg,
451451
"unique.spans.count" to uss.uniqueSpansCount,
452452
"environments.count" to uss.environmentsCount,
453+
"groupedByClassification" to uss.classificationAggregationString
453454
)
454455
)
455456
}

model/src/main/kotlin/org/digma/intellij/plugin/model/rest/user/UserUsageStatsResponse.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,8 @@ constructor(
3434
@JsonProperty("hasDistributedCalls")
3535
val hasDistributedCalls: Boolean = false
3636

37+
@JsonProperty("classificationAggregationString")
38+
val classificationAggregationString: String= ""
39+
3740
fun hasDbSpans() = uniqueDatabaseSpansCount > 0
3841
}

0 commit comments

Comments
 (0)