java.lang.Object
org.apache.jena.fuseki.mod.prometheus.FMod_Prometheus
All Implemented Interfaces:
FusekiActionCycle, FusekiBuildCycle, FusekiModule, FusekiServerArgsCustomiser, FusekiStartStop

public class FMod_Prometheus extends Object implements FusekiModule
Prometheus Metrics. PrometheusMetricsProvider
  • Constructor Details

    • FMod_Prometheus

      public FMod_Prometheus()
  • Method Details

    • create

      public static FusekiModule create()
    • name

      public String name()
      Description copied from interface: FusekiModule
      A display name to identify this module.

      This defaults to the Java simple class name of module.

      Specified by:
      name in interface FusekiBuildCycle
      Specified by:
      name in interface FusekiModule
    • prepare

      public void prepare(FusekiServer.Builder serverBuilder, Set<String> datasetNames, org.apache.jena.rdf.model.Model configModel)
      Description copied from interface: FusekiModule
      Called at the start of "build" step. The builder has been set according to the configuration of API calls and parsing configuration files. No build actions have been carried out yet. The module can make further FusekiServer.FusekiServer.Builder calls. The "configModel" parameter is set if a configuration file was used otherwise it is null.

      This is the main point for customization of server.

      It can add and modify the data services being built, and also add servlets and servlet filters.

      Specified by:
      prepare in interface FusekiBuildCycle
      Specified by:
      prepare in interface FusekiModule
      Parameters:
      serverBuilder - The FusekiServer.Builder
      datasetNames - The names of DataServices configured by API calls and configuration file.
    • server

      public void server(FusekiServer server)
      Description copied from interface: FusekiModule
      Called when the server is built at the point where it is returned from the Fuseki server builder. The server has not yet been started.
      Specified by:
      server in interface FusekiBuildCycle
      Specified by:
      server in interface FusekiModule