All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Exposed
prom-clientusinggetMetricClientfunction.
- Upgrade
prom-client
- Improved Next.js parameterized route capturing capability
- Optional
additionalLabelsoption. The added label keys will be emitted with all metrics if the label value is set usingsetOpenAPMLabels. setOpenAPMLabelsfunction to set custom labels to the metrics emitted by OpenAPM.
- Optional
enableMetricsServeroption to enable or disable the metrics server. - Optional
enabledoption to conditionally enable or disable OpenAPM. - Exposed the
getMetricsfunction to get the metrics in prometheus exposition format. - Add support to instrument applications based on the
Next.jsframework in the Node.js environment. - Automatically add Prisma metrics if they are available.
- BREAKING The OpenAPM metrics server will not close automatically when the application shuts down. Call the
shutdownfunction explicitly to shut down OpenAPM.
- Skip the
OPTIONSrequests from the instrumentation process.
- The ability to automatically detect the correct
pathlabels based on user routes in their applications. This will solve the cardinality blowup of endpoints that are not being folded correctly.
- Optional
customPathsToMaskoption to mask certain values as it is no longer needed now. It will be removed in future releases.
- Optional Change Events Support. Track the
application_startevent for Express applications in Levitate along with other APM metrics.
- Add
excludeDefaultLabelsto the options. - Add support to instrument
NestJSapplications.
- Migrate from
Rolluptotsupfor building package.
- Add
extractableto the options to extract any labels from the URL params, such as a tenant or org name, allowing support for multi-tenant monitoring. - Gracefully shutdown metrics server
- Track the success or failure of database queries with the
statuslabel in thedb_requests_duration_millisecondsmetric. Supported values -successandfailure.
- Auto instrumentation of Rate and Duration metrics for MySQL DB
- Preconfigured Grafana dashboard JSON that can be imported directly
- Auto instrumentation of R.E.D (Rate, Errors & Duration) metrics for Express.js