Commit Graph

453 Commits

Author SHA1 Message Date
Alexey Kudravtsev
5af6a06068 prevent contamination of find usages with unrelated results from test data
(cherry picked from commit 3672208350dbd516d7174badedf66b594f008803)

GitOrigin-RevId: 0274afdf288176481bd532acfd9d9102d154519b
2024-11-18 14:54:49 +00:00
Maxim.Kolmakov
c43a68f093 [freezeAnalyzer] Don't try to parse coroutine dump like a threadDump since it's very different
(cherry picked from commit 5ae9e0926895b72d3db33de30c6f95ba597092c9)

GitOrigin-RevId: 92acccc63c1979e590dc0bf2eb289e4dc2d1f984
2024-11-18 14:54:49 +00:00
Maxim.Kolmakov
4cea38b606 IJPL-156272 Add freeze analyzer and stack trace viewer to text file that contains stack trace
(cherry picked from commit 24e9dff91ea035f5c0a50b8e64f4eaa81c2d0729)

GitOrigin-RevId: d31101f5fdf1e477fe41887957c9e22231822f68
2024-11-18 14:54:49 +00:00
Yuriy Artamonov
c5570569e0 [diagnostics] IJPL-165781 Mute problem for freeze notification in plugins per Major.Minor IDE version
(cherry picked from commit 780fc8394e471b3507f530a2ca6f16584269702a)

IJ-CR-148367

GitOrigin-RevId: 8c3e65e241fae0e8bbd035f48481c64b9ed5dade
2024-11-04 18:27:16 +00:00
Yuriy Artamonov
2fa39514f1 IJPL-164498 Provide the ability to see thread dump from "plugin might be slowing down" notification
(cherry picked from commit 221a494ba04c3bc696efdf39d7962e3d23eb88fb)
IJ-CR-146685

GitOrigin-RevId: 913f93c2c4381878807efd2b05cb800882aef97a
2024-10-22 20:07:09 +00:00
Maxim.Kolmakov
9dbc6953c2 IJPL-164376 Provide an action to create an issue for a plugin that causes freezes
(cherry picked from commit 87094e17a61390740e84eafc843c6ee46495db2a)
IJ-CR-146685

GitOrigin-RevId: dc4be0e511efc8d4af99094c6de66537a5b62613
2024-10-22 20:07:09 +00:00
Maxim.Kolmakov
8c61cdf9db Don't report freezes due without known reasons
GC for example

(cherry picked from commit 0a40e58b2ec55f0f7034a4839548639c2db4c979)
IJ-CR-146685

GitOrigin-RevId: 6ffde74e6ac95b7bf981605ec9fbcc220aba8c56
2024-10-22 20:07:09 +00:00
Maxim.Kolmakov
20e49c5820 IJPL-161370 Disable reporting of bundled plugins in EAPs
(cherry picked from commit 72999345abe573ded25a3852a7f1daefa449993b)
IJ-CR-146685

GitOrigin-RevId: 474bad9f15a8db7e64b3799907c96f04c8e7f289
2024-10-22 20:07:09 +00:00
Maxim.Kolmakov
9db91b3c65 IJ-CR-146685 Add registry option to disable the functionality
(cherry picked from commit b32ecf3a09e35dbf3b383480b6fb52660eeea0a6)
IJ-CR-146685

GitOrigin-RevId: a8d40c7aa1699e6888e3951ebc935c763c5524d8
2024-10-22 20:07:09 +00:00
Yuriy Artamonov
22b4b596ea [performance] IJPL-161370 Detect UI freezes caused by third-party plugins and disable them
(cherry picked from commit 57013d91d5767602b1cb6db72d644e83bed2339b)
IJ-CR-146685

GitOrigin-RevId: e1a46a784e5c742410087590b1013a6d553f415b
2024-10-22 20:07:09 +00:00
Maxim.Kolmakov
d47bffbfe0 IJ-CR-146685 Don't show notification about essential and implementation detail plugins
(cherry picked from commit a5b94fe2a909eb98c9657310885df066e5f1bab4)
IJ-CR-146685

GitOrigin-RevId: fa52f7506588cc950996391e238eb5aab0d45d52
2024-10-22 20:07:09 +00:00
Maxim.Kolmakov
02e286e25e IJ-CR-146685 Show notification for bundled plugins in EAP and in internal mode
(cherry picked from commit c51b5744e62b4a9256694c5777f89ca462b39df6)
IJ-CR-146685

GitOrigin-RevId: fda4bab5dc4269f5a4964e7cfe45e874d7799723
2024-10-22 20:07:09 +00:00
Maxim.Kolmakov
dc9ce62fd9 IJ-CR-146685 Make the field Volatile
(cherry picked from commit 26aed8c4cd2ac3d42276ffab06f13dc701d922a3)
IJ-CR-146685

GitOrigin-RevId: e09ad8ab79399aa8b87cbf5737a93d9a4ab2253a
2024-10-22 20:07:09 +00:00
Maxim.Kolmakov
5a73134d98 IJ-CR-146685 Proofreading
https://jetbrains.slack.com/archives/C6K5Y6R1U/p1728990491328959
(cherry picked from commit 79f0f9ac14ebbdd0e4328832d8070373e38c7020)
IJ-CR-146685

GitOrigin-RevId: ad132e859dd5a85965a806077ba40b84eb944061
2024-10-22 20:07:09 +00:00
Maxim.Kolmakov
6879484387 IJ-CR-146685 Make classes internal instead of using @ApiStatus.Internal
(cherry picked from commit a45f91c7f4d97bcfa3574c80ea4149770074dd92)
IJ-CR-146685

GitOrigin-RevId: cf9554bf884206889e06f018ac9a26ea662743d6
2024-10-22 20:07:09 +00:00
Alexey Kudravtsev
1eb16def14 prevent contamination of find usages with unrelated results from test data
GitOrigin-RevId: a46159c01eafc3e6e30573f22da6a68d4c86026a
2024-10-14 15:40:07 +00:00
Maxim.Kolmakov
e67615d12d IJPL-161370 Detect UI freezes caused by third-party plugins and disable them
GitOrigin-RevId: f46bffd14faabe761b2f4a5b1920250c22a0e349
2024-10-14 12:13:03 +00:00
Maxim.Kolmakov
0e565a1b23 Implement method to get relevant threads from freeze
GitOrigin-RevId: 5ece9d8606b7677409ea66e55d28b68fa4893492
2024-10-10 00:58:31 +00:00
Maxim.Kolmakov
5077d2c7a2 Extract freezeAnalyzer to a separate module
GitOrigin-RevId: a4f6cd7621ee9441263c6d23028901c65343b70b
2024-10-10 00:58:31 +00:00
Alexander.Glukhov
dad322d3e1 [opentelemetry][IJPL-163526] common telemetry context propagation covered with a test
GitOrigin-RevId: d8b43f2d834da5d8277964db6cdf206afc5dabc5
2024-10-08 09:05:57 +00:00
Alexander.Glukhov
8eaeee10e0 [opentelemetry][IJPL-163526] introduce a base test case for telemetry
GitOrigin-RevId: 6fe3fc030d5cd6d9f73f25d7df976194420276e5
2024-10-08 09:05:57 +00:00
Alexander.Glukhov
251dd094c8 [opentelemetry][IJPL-163526] introduce telemetry.rt module with basic telemetry abstractions
GitOrigin-RevId: 2ab8cd96dbe6c4d8200d5b42aef666d3a2296277
2024-10-08 09:05:57 +00:00
Alexander.Glukhov
b7bd550d6a [telemetry][IJPL-163198] refactoring in TelemetryManagerImpl
GitOrigin-RevId: f45fd6d7c75a90b588a4903768d3686502da997a
2024-10-01 11:54:59 +00:00
Alexander.Glukhov
e9c0c56731 [metrics][IJPL-163198] otlp metric exporter refactoring
GitOrigin-RevId: 96e04b6293345311e8e79d69352bb4aea787745f
2024-10-01 11:54:59 +00:00
Alexander.Glukhov
489b41688d [tracing][IJPL-163198] introduced a single source of truth about OTLP configuration
GitOrigin-RevId: d8204fa3fcfa23583466a30417754f6e616d7d75
2024-10-01 11:54:59 +00:00
Vladimir Krivosheev
a9e7930abe bazel - build lang-impl
GitOrigin-RevId: c4c4dce20bd6e4046644f95f6e7b3f437c51668d
2024-09-27 13:47:17 +00:00
Vladimir Krivosheev
a1210118c0 bazel - fix JPMS, exports and internal
GitOrigin-RevId: 3dc80a9ee01e1900c0cebc24b2d08f04f93ddeff
2024-09-25 19:05:37 +00:00
Vladimir Krivosheev
4eb9b78b78 use bazel to build platform-impl
GitOrigin-RevId: b5bbc75323a08c7674777e512dcfd988ceb4461f
2024-09-22 17:01:28 +00:00
Vladimir Krivosheev
834bd75254 run jps-to-bazel by Bazel, compile platform using Bazel
GitOrigin-RevId: 3774d5adc404b02036f70b7cc35c9e60fdb5d84c
2024-09-21 00:54:17 +00:00
Vladimir Krivosheev
8455df53ca build build-scripts using Bazel
GitOrigin-RevId: f6ab74d791f866f567297e20266a7620cddfafae
2024-09-20 01:52:02 +00:00
Mikhail Filippov
f13d92e82f IJPL-150165 switch to invoke dynamic lambdas in Kotlin
GitOrigin-RevId: 63ba45a21874cc723917982996fce1a510b2a182
2024-09-05 11:19:31 +00:00
Vladimir Krivosheev
18a927dcbb prefer stateless pure functions, otherwise not easy to understand the state flow and what is used in what scenario
GitOrigin-RevId: 64d899b65c09c0cde3a55d1ef8ce3a26e5e032d9
2024-09-03 10:18:02 +00:00
Maxim.Kolmakov
2039673d1b [performanceTests] Add metric for afterShown method
For VCS widget the method takes about 1-3 seconds and it makes sense to track it as well

GitOrigin-RevId: d2707c09c2fa96db2f2870a36d14997706357875
2024-09-02 14:54:09 +00:00
Mikhail Filippov
249356a561 IJPL-150165 fix dump after compiler update
GitOrigin-RevId: 325e540ebb9c960fa28bfa444f3270ff7ced712b
2024-08-30 22:15:56 +00:00
Mikhail Filippov
bf43f2fc01 IJPL-150165 bump Kotlin language and API version
GitOrigin-RevId: a59dc8ca214a5047773fccf1cf28a1e1b07acf68
2024-08-30 22:15:55 +00:00
Vladimir Krivosheev
46871c21ac get rid of synchronized in JpsCompilationRunner
GitOrigin-RevId: c2a3f77da62391f3b87a35be9d64bbbaa57667f0
2024-08-24 17:38:51 +00:00
Vladimir Krivosheev
3a6b7dfd97 build script telemetry: useWithScope -> use
GitOrigin-RevId: ab1473c6262d44badfa08f7a902ca6c895520481
2024-08-24 10:54:28 +00:00
Vladimir Krivosheev
ade2a59ae0 IJPL-159596 prefer coroutines to propagate telemetry context, avoid blocking code
GitOrigin-RevId: c7afa9f9a6b24b6d26e9e729917903161bc2672d
2024-08-19 16:32:59 +00:00
Dmitriy.Panov
ecce5f78de IJI-1455 wrapping each span tree into a TeamCity flow tree
GitOrigin-RevId: 5eae29253eea252b3f39d82b75dbdb1dddc44773
2024-08-12 22:14:32 +00:00
Ruslan Cheremin
1388045ac4 [monitoring] allow customizing OTel metrics reporting periodicity
+ `-Didea.diagnostic.opentelemetry.metrics-reporting-period-ms=...`, with default=1 min (as before)

GitOrigin-RevId: 7220d207c555e458987d9e1d6e390f32bdca0fb4
2024-08-09 18:26:38 +00:00
Konstantin Nisht
27aea8f03f [platform] IJPL-158752: Annotate custom elements with IntelliJContextElement
GitOrigin-RevId: 6cdd7a239fd6fe271daa58d7d7463be7effba141
2024-08-08 17:14:45 +00:00
Alexander.Glukhov
b8053e47a0 [opentelemetry] cleanup in telemetry.kt
1) Removed the enum with telemetry content's format
2) Split `export` method onto `sendJson` and `sendProtobuf`
3) Marked telemetry.kt as InternalApi

GitOrigin-RevId: 671ab98459796f63f57dbed3818a9d10db98278f
2024-08-01 18:01:49 +00:00
Vladimir Krivosheev
45a4702fcf reduce usage of runWithSpan, remove useWithoutActiveScope, hide useWithoutActiveScope - coroutine-based API should be used instead
GitOrigin-RevId: 455c5da850ce966f8103f9d330d3c6454e4f541e
2024-08-01 17:51:32 +00:00
Maxim.Kolmakov
0783d7d30f [starter] Fix metrics for older versions of products
We always convert values to nanoseconds and so we have to serialize them as nanoseconds as well. Otherwise the following happens, we read "duration", convert to nanoseconds, and then treat it as microseconds for old products.

GitOrigin-RevId: 050651f76bb6ad9b96c2a11a863005f087819dd9
2024-08-01 15:08:11 +00:00
Andrei Efanov
4e0f645ec7 [otel] refactor: remove the catch for ProcessCanceledException
ProcessCanceledException is already a CancellationException, so we don't need to treat it differently.

GitOrigin-RevId: 58192b3eb2e3f7feae131f349e461bb0be988371
2024-07-31 17:31:05 +00:00
Andrei Efanov
17870f0fa9 [otel] docs: suggest using TraceKt#use where possible
GitOrigin-RevId: 24f0cad593c9a6063730056d607268959bcfc4c0
2024-07-31 15:13:02 +00:00
Andrei Efanov
e10e2afa68 [otel] refactor: use spanBuilder in TraceUtil#runWithSpanThrows
GitOrigin-RevId: 89d54da6316902f22a1464478036c20a8073ad8c
2024-07-31 15:13:02 +00:00
Andrei Efanov
f792091504 [otel] refactor: remove redundant TraceUtil#runWithSpanThrows overload
GitOrigin-RevId: 877a927aef0a85cd62e5867c5d6e0dd23f692cfe
2024-07-31 15:13:02 +00:00
Andrei Efanov
b1eb7f3683 [otel] refactor: use spanBuilder in TraceUtil#computeWithSpanThrows
GitOrigin-RevId: 72b25232c5dedbdd8be67e586ef61def565c22a8
2024-07-31 15:13:02 +00:00
Andrei Efanov
e0d5099ad0 [otel] refactor: remove redundant opentelemetry runWithSpan util
GitOrigin-RevId: cce13fe529ecdb1aeb5b70af37f7d6fb505696e5
2024-07-31 12:05:46 +00:00