Skip to content

Commit

Permalink
Revert "SwanSpawner: Add metric to monitor the usage of each interface"
Browse files Browse the repository at this point in the history
This reverts commit f62d99e.
It is not needed, since a metric is automatically created for any form
field when a user setups their session.
  • Loading branch information
PMax5 authored and etejedor committed Jul 5, 2024
1 parent 7237bdf commit 7569509
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions SwanSpawner/swanspawner/swanspawner.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,17 +144,6 @@ def get_env(self):
SWAN_USE_JUPYTERLAB = 'true'
))

user_interface = 'lab'
else:
user_interface = 'classic'

self.log_metric(
self.user.name,
self.this_host,
'ui',
user_interface
)

# Append path of user packages installed on CERNBox to PYTHONPATH
if self.user_options[self.use_local_packages_field] == 'checked':
env.update(dict(
Expand Down

0 comments on commit 7569509

Please sign in to comment.