-
Notifications
You must be signed in to change notification settings - Fork 881
API: /api/v2/deployment/stats
does not return count for JetBrains Gateway sessions
#9673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
/api/v2/deployment/stats
does not return count for JetBrains sessions/api/v2/deployment/stats
does not return count for JetBrains Gateway sessions
i've also reproduced this on the Prometheus side, where the |
The env var is the wrong casing, I will fix. coder/agent/agentssh/agentssh.go Line 49 in aa070c4
|
my
|
This still does not work. If you manually |
cc: @code-asher |
I wonder what ssh agent jetbrains uses. It could be ignoring part of the ssh config. |
Found something interesting: https://youtrack.jetbrains.com/issue/IDEA-221941/Get-rid-of-sshconfig-parser-use-ssh-G-instead#focus=Comments-27-5706496.0-0 By default they have a custom parser and ssh client. You can change this to use openssh. Still not working though... |
This is an open issue on Youtrack: https://youtrack.jetbrains.com/issue/GTW-2288/SSH-Config-SendEnv-not-working-windows Until this is resolved, we cannot send this information over env vars. If we need this soon and cannot wait, then we could maybe send the info over as like the username? Maybe as something kinda niche like a https://docstore.mik.ua/orelly/networking_2ndEd/ssh/ch05_07.htm |
I noticed that when connected through JetBrains Gateway, we have |
@code-asher, to detect Fleet, we can scan for |
the
/api/v2/deployment/stats
endpoint returns the below connection figures:however, the
session_count.jetbrains
figure is not incremented when I open a JetBrains Gateway connection. what is expected to occur for the figure to be>0
?Jetbrains issue
https://youtrack.jetbrains.com/issue/GTW-2288/SSH-Config-SendEnv-not-working-windows
The
SetEnv
andSendEnv
ssh config fields are ignored by Jetbrain's custom ssh implementation. There is no trivial way to fix this. We would have to send the jetbrains information in some other way.The text was updated successfully, but these errors were encountered: