Discussion:
Healthcheck?
Jake Pearson
2013-12-10 15:17:58 UTC
Permalink
Hi,
Is there a way to do an http healthcheck on a transactor instance? We
would like to be able to know if the transactor went down.

thanks,
Stuart Halloway
2013-12-10 16:08:39 UTC
Permalink
Hi Jake,

The transactor does not open an HTTP endpoint, but calling sync() [1] from
the peer can let you choose your own timeout-based determination of
transactor health.

Stu

[1] http://docs.datomic.com/javadoc/datomic/Connection.html#sync()
Post by Jake Pearson
Hi,
Is there a way to do an http healthcheck on a transactor instance? We
would like to be able to know if the transactor went down.
thanks,
Jake
--
You received this message because you are subscribed to the Google Groups
"Datomic" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Datomic" group.
To unsubscribe from this group and stop receiving emails from it, send an email to datomic+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Daniel Compton
2017-07-04 01:38:37 UTC
Permalink
Note there is now a health check available for the transactor. Details are
available at http://docs.datomic.com/transactor.html#sec-1-1.

Posting this here, as this post still ranks highly for "Datomic
Healthcheck".
Post by Stuart Halloway
Hi Jake,
You could use the Custom Monitoring callback (documented at
http://docs.datomic.com/monitoring.html) to push some kind of "I am ok"
message.
Stu
Hi,
Is there anything we can do in the absence of a peer? Our deployment
team would like to know if the transactor started correctly when we deploy
a new transactor. It would be independent of a peer running.
thanks,
Jake
Post by Stuart Halloway
Hi Jake,
The transactor does not open an HTTP endpoint, but calling sync() [1]
from the peer can let you choose your own timeout-based determination of
transactor health.
Stu
[1] http://docs.datomic.com/javadoc/datomic/Connection.html#sync()
Post by Jake Pearson
Hi,
Is there a way to do an http healthcheck on a transactor instance? We
would like to be able to know if the transactor went down.
thanks,
Jake
--
You received this message because you are subscribed to the Google
Groups "Datomic" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups
"Datomic" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Datomic" group.
To unsubscribe from this group and stop receiving emails from it, send an email to datomic+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Daniel Compton
2017-07-04 02:35:18 UTC
Permalink
Note this is only available in Datomic 0.9.5561.50 and later.
Post by Daniel Compton
Note there is now a health check available for the transactor. Details are
available at http://docs.datomic.com/transactor.html#sec-1-1.
Posting this here, as this post still ranks highly for "Datomic
Healthcheck".
Post by Stuart Halloway
Hi Jake,
You could use the Custom Monitoring callback (documented at
http://docs.datomic.com/monitoring.html) to push some kind of "I am ok"
message.
Stu
Hi,
Is there anything we can do in the absence of a peer? Our deployment
team would like to know if the transactor started correctly when we deploy
a new transactor. It would be independent of a peer running.
thanks,
Jake
Post by Stuart Halloway
Hi Jake,
The transactor does not open an HTTP endpoint, but calling sync() [1]
from the peer can let you choose your own timeout-based determination of
transactor health.
Stu
[1] http://docs.datomic.com/javadoc/datomic/Connection.html#sync()
Post by Jake Pearson
Hi,
Is there a way to do an http healthcheck on a transactor instance? We
would like to be able to know if the transactor went down.
thanks,
Jake
--
You received this message because you are subscribed to the Google
Groups "Datomic" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google
Groups "Datomic" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Datomic" group.
To unsubscribe from this group and stop receiving emails from it, send an email to datomic+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...