keith-turner commented on issue #4511:
URL: https://github.com/apache/accumulo/issues/4511#issuecomment-2447760530
> What if you had a Thread in the tserver that maintained the aggregate
Meters and removed them from the MeterRegistry when no tablets for the table
are being hosted?
I tried to do something like this and ran into problems with MeterFilters.
I was trying to support the following functionality in my initial experiment.
* Accumulo has some per table meters. When a tablet server or scan server
no longer has tablets for a table it will eventually remove meters related to
that table from the registry. This removal was done by a scheduled task in the
experimental branch.
* If a user does not want per table meters, then they could use
`MeterFilter.ignoreTags()` to remove the tableId tags when setting up their
registries.
While trying to support the above workflow I found two problems with
`MeterFilter.ignoreTags()`. First was micrometer issue 5607 which caused
metrics to be lost. The second issue I found is the one I mentioned with two
or more gauges in an earlier comment where data is lost.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]