USACE / cwms-data-api

Corps Water Management System RESTful Data Service
MIT License
11 stars 14 forks source link

Migrate metrics to micrometer #352

Open MikeNeilson opened 1 year ago

MikeNeilson commented 1 year ago

I was looking at metrics for OpenDCS and found this: https://micrometer.io/

It's similar to the current Dropwizard metrics but it has more hooks for exporting and mapping metric names.

Additionally it supports OpenTelemetry concepts like tracing.

MikeNeilson commented 1 year ago

Also includes a ExecutionListener for JOOQ built-in, so there's another notch in it's favor.

rma-rripken commented 1 year ago

This issue probably supersedes #148

rma-rripken commented 2 months ago

@MikeNeilson I'd love to drop dropwizard and have the migration to otel or micrometer happen...

MikeNeilson commented 2 months ago

Same. But I think I'll wait for the next bill that eats into task 4b to make that choice. Or I may just start it myself next week. Haven't been doing enough CDA dev, super focused on OpenDCS, but we need to do the same integration there and this will be an easier migration to get my head back around metrics.