Facing issue to collect frequently changing datapoints using async gauge. #7177
Unanswered
ychaydhari
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Can you use a histogram? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We have a few data points which vary very frequently within 1-2 secs. I'm using guageBuilder to collect this metric. but few data points are not able to capture.
private final Meter meter =
GlobalOpenTelemetry.meterBuilder("com.rs.mv.cm.stats")
.build();
meter.gaugeBuilder(OtelConstants.TOTAL_INUSE_CONNCTIONS)
.setDescription("Total number of in use connections.")
.setUnit("unit")
.buildWithCallback(
r -> {
r.record(account.getConnectionsInUse());
}
});
Can someone have any other way to capture this type of data point? which are very frequent within 1-2 secs?
Beta Was this translation helpful? Give feedback.
All reactions