spotify / semantic-metrics

Capturing meaningful metrics in your Java application
Apache License 2.0
66 stars 36 forks source link

Added flush to the README example #131

Closed gnitsua closed 1 year ago

gnitsua commented 1 year ago

While working with your library I was struggling to understand why I wasn't seeing any metric emitted. Turns our it was because my app exited without flushing my metrics.

Adding this line to the example may help others in my situation.