Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

See: /openmeetings-web/src/main/webapp/WEB-INF/web.xml#L110

Warning
If you plan to use this in production you need to secure that endpoint (for example by pointing to a private IP and putting the monitoring into a VPC).

View your metrics in Prometheus

...

Code Block
languageyml
collapsetrue
global:
  scrape_interval:     15s # By default, scrape targets every 15 seconds.
  evaluation_interval: 15s # Evaluate rules every 15 seconds.

  # Attach these extra labels to all timeseries collected by this Prometheus instance.
  external_labels:
    monitor: 'scalyr-blog'

rule_files:
  - 'prometheus.rules.yml'

scrape_configs:
  - job_name: 'prometheus'

    # Override the global default and scrape targets from this job every 5 seconds.
    scrape_interval: 5s

    static_configs:
      - targets: ['localhost:9090']

  - job_name:       'openmeetings-local'

    # Override the global default and scrape targets from this job every 5 seconds.
    scrape_interval: 5s

    metrics_path:  'openmeetings/services/metrics/'

    static_configs:
      - targets: ['192.168.1.66:5080']
        labels:
          group: 'production'

Change 192Change 192.168.1.66:5080 to your local running OpenMeetings instance. Below graphs and queries are done using this docker container.

...

.


What kind of metrics are we collecting

...