mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-340378 print "environment info" using opentelemetry
GitOrigin-RevId: 5fdf1b15d40171cb8b0e2a3ef8f8bbebba92bfca
This commit is contained in:
committed by
intellij-monorepo-bot
parent
df07fb2ce3
commit
b8537c8a99
+5
-5
@@ -148,11 +148,11 @@ class CompilationContextImpl private constructor(
|
||||
|
||||
val messages = BuildMessagesImpl.create()
|
||||
if (options.printEnvironmentInfo) {
|
||||
messages.block("Environment info") {
|
||||
messages.info("Community home: ${communityHome.communityRoot}")
|
||||
messages.info("Project home: $projectHome")
|
||||
printEnvironmentDebugInfo()
|
||||
}
|
||||
Span.current().addEvent("environment info", Attributes.of(
|
||||
AttributeKey.stringKey("community home"), communityHome.communityRoot.toString(),
|
||||
AttributeKey.stringKey("project home"), projectHome.toString(),
|
||||
))
|
||||
printEnvironmentDebugInfo()
|
||||
}
|
||||
|
||||
if (options.printFreeSpace) {
|
||||
|
||||
Reference in New Issue
Block a user