NAME

Plack::App::ServiceStatus::Elasticsearch - Check Elasticsearch connection

VERSION

version 0.913

SYNOPSIS

my $es         = Search::Elasticsearch->new;
my $status_app = Plack::App::ServiceStatus->new(
    app           => 'your app',
    Elasticsearch => $es,
);

CHECK

Calls ping on the $elasticsearch object.

AUTHOR

Thomas Klausner <domm@plix.at>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 - 2022 by Thomas Klausner.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.