Socket
Socket
Sign inDemoInstall

@autometrics/exporter-prometheus-push-gateway

Package Overview
Dependencies
9
Maintainers
5
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2Next

1.0.1

Diff

Changelog

Source

[v1.0.1]

This release fixes two issues. Thanks to @benjibuiltit for his contributions!

Fixed

  • #149 - Fixed an issue where autometrics in a Node.js environment would fail if it was not running inside a git repository
  • #150 - Fixed rendering of a function name and module when using the relfect-metadata package
arendjr
published 1.0.0 •

Changelog

Source

[v1.0.0]

This release features full compliance with the Autometrics v1.0.0 specification as well as first-class Deno support. Also, our decorators have been updated to match the Stage 3 ECMAScript decorators proposal.

Changed

  • BREAKING: Labels are submitted with dots instead of underscores when exported through OTLP. This should not affect exports to Prometheus.
  • BREAKING: The @Autometrics decorator is now compliant with the Stage 3 ECMAScript decorators proposal. For the legacy TypeScript decorators, please use @AutometricsLegacy instead.
  • BREAKING: Autometrics 1.0: caller.function and caller.module have been changed to match the specification.
  • Deno has become a first-class supported platform.

Added

  • Autometrics 1.0: Added support for the service.name label.
  • Autometrics 1.0: Added support for the repository.url and repository.provider labels.
  • Autometrics 1.0: Added support for excluding individual methods from the class decorator, using @Autometrics({ skip: true }). This also works with the legacy decorator.
  • Autometrics 1.0: Users should see a warning in their console if they've configured an invalid objective name.

Fixed

  • Fixed this handling in the wrappers and decorators.
  • Fixed using the autometrics package with web bundlers such as Parcel and WebPack.
  • Fixed an issue where caller information sometimes wasn't submitted.
bretterplane
published 0.7.2-beta.0 •

keturiosakys
published 0.7.1 •

keturiosakys
published 0.7.0 •

Changelog

Source

[v0.7.0]

Changed

BREAKING: v0.7 is a big change to how the Autometrics library works in JavaScript. The core library interface of wrappers and decorators remains the same and will collect the metrics as previously, however it will not export them. For that purpose exporters are now separate to the library itself allowing the user more control as to how they want to set up the metrics collection: as a pull endpoint for Prometheus, push gateway, OpenTelemetry collector or something else.

  • Users need to explicitly choose an exporter and call its init() function.
  • Experimental: Eagerly push metrics when pushInterval is set to 0.

Added

  • Support Bun runtime in the core library.
  • Warn on a potentially incorrect HTTP OTLP endpoint.
  • Experimental: Initial Gravel Gateway Support.

Fixed

  • Clear timer on handover.
  • Log error when fetch is not defined in push context.
  • Fix default Prometheus exporter port.
  • Various smaller bugfixes.
  • Updated all our examples.
bretterplane
published 0.7.0-beta10 •

bretterplane
published 0.7.0-beta9 •

bretterplane
published 0.7.0-beta7 •

bretterplane
published 0.7.0-beta6 •

arendjr
published 0.7.0-beta5 •

2Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc