       width: process.env.HUBOT_GRAFANA_DEFAULT_WIDTH or 1000
       height: process.env.HUBOT_GRAFANA_DEFAULT_HEIGHT or 500
       tz: process.env.HUBOT_GRAFANA_DEFAULT_TIME_ZONE or ""
-      orgId: process.env.HUBOT_GRAFANA_ORG_ID or ""
-      apiEndpoint: process.env.HUBOT_GRAFANA_API_ENDPOINT or "dashboard-solo"
-      useUid: process.env.HUBOT_GRAFANA_USE_UID or ""
     endpoint = get_grafana_endpoint(msg)
     if not endpoint
       sendError 'No Grafana endpoint configured.', msg

                errMsg = res["error"]
                robot.logger.error "rocketchat service error while posting data:" +errMsg
                msg.send "#{title} - [Form Error: can't upload file : #{errMsg}] - #{link}"
    'telegram': (msg, title, grafanaDashboardRequest, link) ->
      caption = "#{title}: #{link}"
      msg.sendPhoto msg.envelope.room, grafanaDashboardRequest(), {caption: caption}

  # Fetch an image from provided URL, upload it to S3, returning the resulting URL
  uploadChart = (msg, title, url, link, site) ->

        return sendError dashboard.message, msg

      # Defaults
      apiEndpoint = 'dashboard-solo'
      data = dashboard.dashboard

      # Handle refactor done for version 5.0.0+
