Skip to content

Commit

Permalink
orgId should not be hardcoded for the spark metrics dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaCanali authored and etejedor committed May 3, 2024
1 parent e224174 commit da476ed
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion SparkConnector/sparkconnector/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,6 @@ def get_spark_session_config(self):
if grafana_url and app_id:
# if spark.cern.grafana.url is set, use cern spark monitoring dashboard
conn_config['sparkmetrics'] = grafana_url + \
'?orgId=1' + \
'&var-ClusterName=' + self.get_cluster_name() + \
'&var-UserName=' + self.get_spark_user() + \
'&var-ApplicationId=' + app_id
Expand Down

0 comments on commit da476ed

Please sign in to comment.