Skip to content

Exporter User Guide#

Environment Variables#

  • API_SECRET - BigBlueButton API Secret
    • Required: true
    • Use $ bbb-conf --secret on BigBlueButton server to get secret and Base API url
  • API_BASE_URL - BigBlueButton API base URL
    • Required: true
    • Example: "https://example.com/bigbluebutton/api/"
    • Trailing slash is required!
    • Make sure you supply the base url of the API, often this URL ends in /api/
  • DEBUG - Enable debug logging
    • Required: false
    • Default: false
    • Values: <true | false>
  • RECORDINGS_METRICS - Enable collection of recordings metrics
    • Required: false
    • Default: true
    • Values: <true | false>
  • BIND_IP - Which network address to bind the HTTP server of the exporter
    • Required: false
    • Default: 0.0.0.0
  • PORT - HTTP port to serve the exporter metrics
    • Required: false
    • Default: 9688
    • Values: <1 - 65535>
  • TLS_VERIFY - Enable (default) / disable TLS CA verification or replace with a custom CA_BUNDLE directory or file
    • Required: false
    • Default: true
    • Values: <true | false | path to CA_BUNDLE directory or file >
    • A CA_BUNDLE file is normal file that contains a list of CA certificates you trust. See FAQ or the under the hood library documentation for details.

Optimizations#

  • RECORDINGS_METRICS_READ_FROM_DISK - Collect expensive recordings metrics by querying the disk instead of the API. This can substantially decrease the scrape time required for the exporter to respond to metrics requests.
    • Required: false
    • Default: false
    • Values: <true | false>
    • Prerequisites: access to /var/bigbluebutton (for Docker containers do a read-only bind mount) so running the exporter remotely with this option is not possible (unless you setup a remote file mount).
    • The metric bbb_recordings_unprocessed relies on the optimization to be turned on since the information is not exposed via the BigBlueButton XML API

Metric Histogram Custom Buckets#

  • ROOM_PARTICIPANTS_CUSTOM_BUCKETS - Custom bucket sizes for the bbb_room_participants_bucket histogram metric

    • Required: false
    • Default: 0,1,5,15,30,60,90,120,150,200,250,300,400,500
    • INF will be added automatically as the final bucket size
    • Values: list of integers separated using comma (,)
  • ROOM_LISTENERS_CUSTOM_BUCKETS - Custom bucket sizes for the bbb_room_listeners_bucket histogram metric

    • Required: false
    • Default: 0,1,5,15,30,60,90,120,150,200,250,300,400,500
    • INF will be added automatically as the final bucket size
    • Values: list of integers separated using comma (,)
  • ROOM_VOICE_PARTICIPANTS_CUSTOM_BUCKETS - Custom bucket sizes for the bbb_room_voice_participants_bucket histogram metric
    • Required: false
    • Default: 0,1,5,15,30,60,90,120
    • INF will be added automatically as the final bucket size
    • Values: list of integers separated using comma (,)
  • ROOM_VIDEO_PARTICIPANTS_CUSTOM_BUCKETS - Custom bucket sizes for the bbb_room_video_participants_bucket histogram metric
    • Required: false
    • Default: 0,1,5,15,30,60,90,120
    • INF will be added automatically as the final bucket size
    • Values: list of integers separated using comma (,)

Metrics#

Gauges#

  • bbb_meetings_participants - Total number of participants in all BigBlueButton meetings
  • bbb_meetings_listeners - Total number of listeners in all BigBlueButton meetings
  • bbb_meetings_voice_participants - Total number of voice participants in all BigBlueButton meetings
  • bbb_meetings_video_participants - Total number of video participants in all BigBlueButton meetings
  • bbb_meetings_participant_clients(type=<client>) - Total number of participants in all BigBlueButton meetings by client (html5|dial-in|flash)
  • bbb_meetings_participants_origin(name=<origin>, server=<servername>) - Total number of participants in all BigBlueButton meetings by server name and origin metadata (v0.6.0+)

    Hint

    bbb_meetings_participants_origin is useful when using multiple Greenlight instances with a single BigBlueButton server, or adding custom bbb-origin-server-name or bbb-origin metadata tags in your BigBlueButton application. See PR #65 for details.

  • bbb_recordings_processing - Total number of BigBlueButton recordings processing

  • bbb_recordings_published - Total number of BigBlueButton recordings published
  • bbb_recordings_unpublished - Total number of BigBlueButton recordings unpublished
  • bbb_recordings_deleted - Total number of BigBlueButton recordings deleted
  • bbb_recordings_unprocessed - Total number of BigBlueButton recordings that are enqueued to be processed, requires for the exporter to be installed on the BigBlueButton server (access to /var/bigbluebutton/ dir) and for RECORDINGS_METRICS_READ_FROM_DISK to be enabled
  • bbb_api_up - 1 if BigBlueButton API is responding 0 otherwise
  • bbb_exporter(labels: version) - Information about the exporter (i.e. version)

Histograms#

  • bbb_api_latency(labels: endpoint, parameters) - BigBlueButton API call latency
    • buckets: .01, .025, .05, .075, .1, .25, .5, .75, 1.0, 1.25, 1.5, 1.75, 2.0, 2.5, 5.0, 7.5, 10.0, INF
  • bbb_room_participants_bucket - Number of rooms with participants less than or equal to the bucket size
  • bbb_room_listeners_bucket - Number of rooms with listeners less than or equal to the bucket size
  • bbb_room_voice_participants_bucket - Number of rooms with voice participants less than or equal to the bucket size
  • bbb_room_video_participants_bucket - Number of rooms with video participants less than or equal to the bucket size