Interesting...Does this play at all with OpenAPI? https://issues.apache.org/jira/browse/TIKA-3082
On Tue, Mar 16, 2021 at 1:35 PM Subhajit Das <[email protected]> wrote: > > Hi Tim, > > > > Prometheus requires data in it’s format. It seems that Tika does not have > extended metrics collection system (correct me, if I am wrong). > > The status is storing status in ServerStatus object, which dosen’t seems to > be exposed as MBean. > > If this is exposed as MBean, basic requirement may be fulfilled with > Prometheus JMX Exporter (https://github.com/prometheus/jmx_exporter) as a > Javaagent. > > > > For more advanced, > > Solr uses Dropwizard > (https://solr.apache.org/guide/8_8/metrics-reporting.html) for metrics, and a > separate Prometheus exporter > (https://solr.apache.org/guide/8_8/monitoring-solr-with-prometheus-and-grafana.html) > to export metrics to Prometheus. > > > > But, a better solution might be to use Micrometer (https://micrometer.io/), > as it supports inbuild exporting for multiple standards, and this is also > standard for new Spring Boot 2.0 projects. > > > > Thanks, > > Subhajit > > > > From: Tim Allison > Sent: 16 March 2021 09:32 PM > To: [email protected] > Subject: Re: Prometheus exporter for TikaServer > > > > We have only a barebones /status endpoint at the moment. You have to > configure it/turn it on. It is not available by default. If there > are specific statistics or a specific format you need for integration > with Prometheus, please let us know. > > On Mon, Mar 15, 2021 at 4:06 AM Subhajit Das <[email protected]> wrote: > > > > Hi, > > > > > > > > Is there any Prometheus exporter functionally, on TikaServer? > > > > Need details on status endpoint over Prometheus as well. > > > > > > > > Then have to setup a Grafana dashboard for the same. > > > > > > > > Thanks in advance. > > > > > >
