Discussion:
Sending additional metrics to cloudwatch
Paul Groudas
2017-04-06 19:15:34 UTC
Permalink
Hello!

We're investigating some latency spikes on our peers that we suspect might
be GC related. In order to measure the effectiveness of our changes, we'd
like to start exporting some simple JVM stats in addition to the metrics
here: http://docs.datomic.com/monitoring.html#sec-5.

It seems that you already provide the opposite of what I'd need... in other
words I can get access to the metrics that are sent to cloudwatch by
registering a callback so that I could in theory send them somewhere else.

However, is there an opposite functionality? Is there a way to register
additional metrics to get forwarded along with the existing cloudwatch
publishing?

Best,
Paul
--
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.
Jaret Binford
2017-04-07 14:15:07 UTC
Permalink
Paul,

What you seem to be talking about is pushing custom metrics from your
peers. You can implement this functionality in your peers using Amazon's
AWS SDK:

http://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/examples-cloudwatch-send-events.html
http://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/examples-cloudwatch-publish-custom-metrics.html

Thanks,
Jaret
Post by Paul Groudas
Hello!
We're investigating some latency spikes on our peers that we suspect might
be GC related. In order to measure the effectiveness of our changes, we'd
like to start exporting some simple JVM stats in addition to the metrics
here: http://docs.datomic.com/monitoring.html#sec-5.
It seems that you already provide the opposite of what I'd need... in
other words I can get access to the metrics that are sent to cloudwatch by
registering a callback so that I could in theory send them somewhere else.
However, is there an opposite functionality? Is there a way to register
additional metrics to get forwarded along with the existing cloudwatch
publishing?
Best,
Paul
--
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.
Paul Groudas
2017-04-11 18:54:54 UTC
Permalink
Jaret,

Thanks for your advice, I understand I can do that. I was just wondering
if there was a way to avoid implementing a second system for metrics
publishing as the peer is already doing it.

This is the route I will take.

Best,
Paul
Post by Jaret Binford
Paul,
What you seem to be talking about is pushing custom metrics from your
peers. You can implement this functionality in your peers using Amazon's
http://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/examples-cloudwatch-send-events.html
http://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/examples-cloudwatch-publish-custom-metrics.html
Thanks,
Jaret
Post by Paul Groudas
Hello!
We're investigating some latency spikes on our peers that we suspect
might be GC related. In order to measure the effectiveness of our changes,
we'd like to start exporting some simple JVM stats in addition to the
metrics here: http://docs.datomic.com/monitoring.html#sec-5.
It seems that you already provide the opposite of what I'd need... in
other words I can get access to the metrics that are sent to cloudwatch by
registering a callback so that I could in theory send them somewhere else.
However, is there an opposite functionality? Is there a way to register
additional metrics to get forwarded along with the existing cloudwatch
publishing?
Best,
Paul
--
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...