New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@appsignal/nodejs

Package Overview
Dependencies
Maintainers
9
Versions
135
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appsignal/nodejs - npm Package Versions

13
14

3.4.7

Diff

Changelog

Source

3.4.7

Published on 2024-06-20.

Changed

  • b22eecd patch - Update OpenTelemetry dependencies.
as_unflxw
published 3.4.6 •

Changelog

Source

3.4.6

Published on 2024-06-14.

Fixed

  • 0d60a9b patch - Fix an issue where a later span close time than accurate, and therefore a longer span duration, is reported to AppSignal under certain circumstances.
as_unflxw
published 3.4.5 •

Changelog

Source

3.4.5

Published on 2024-06-12.

Added

  • 388cade patch - Add BullMQ support through the @appsignal/opentelemetry-instrumentation-bullmq instrumentation. AppSignal will automatically instrument the use of BullMQ in your application.

    Calls to functions that enqueue jobs, such as Queue.add and others, will be instrumented as an event in the event timeline for the performance sample in which it takes place.

    When a BullMQ Worker processes a job, this will result in a performance sample in the background namespace.

  • 388cade patch - Add basic OpenTelemetry messaging support. This adds support for any OpenTelemetry instrumentation that complies with the OpenTelemetry Semantic Conventions specification for messaging.

Changed

  • 388cade patch - Rename the hostname tag, which contains the host of the URI that an HTTP request was made against, to request_host.

    This fixes an issue where the hostname tag would later be internally overriden to the hostname of the machine processing the request, but notifications would still be emitted containing the previous hostname value.

  • 1a01c5d patch - Improve the amqlib instrumentation by parsing it like other messaging spans following the OpenTelemetry messaging spec.

Fixed

  • 1a01c5d patch - Fix an issue where Redis events are misidentified as HTTP events.
as_unflxw
published 3.4.4 •

Changelog

Source

3.4.4

Published on 2024-05-14.

Added

  • 138f01f patch - Instrument calls to fetch in Node.js. Requests made using Node.js' global fetch, or through the underlying undici library, will be automatically instrumented and shown as events in your performance samples' event timeline.
as_unflxw
published 3.4.3 •

Changelog

Source

3.4.3

Published on 2024-05-14.

Added

  • cca6741 patch - Instrument calls to fetch in Node.js. Requests made using Node.js' global fetch, or through the underlying undici library, will be automatically instrumented and shown as events in your performance samples' event timeline.
  • cca6741 patch - Support Kamal-based deployments. Read the KAMAL_VERSION environment variable, which Kamal exposes within the deployed container, if present, and use it as the application revision if it is not set. This will automatically report deploy markers for applications using Kamal.

Changed

  • 6bf596c patch - ### Improve error reporting during initialisation

    Do not report an error with the extension installation when AppSignal is imported -- instead, report it when attempting to initialise AppSignal. Do not report an error with the extension if AppSignal is not configured to be active.

    When AppSignal does not start due to its configuration (active is set to false, or the push API key is missing) report the specific reason why.

Fixed

  • 24a8701 patch - Improve compatibility with alternative package managers. Fix an issue where AppSignal would fail to install with Yarn when using package managers that require transitive dependencies to be declared.
luismiramirez
published 3.4.2 •

Changelog

Source

3.4.2

Added

  • 3868536 patch - Ignore AMQP spans if they're root spans.
  • 27c1ca7 patch - The AMQP protocol is now instrumented when using amqplib. The AppSignal client automatically instruments and creates spans when using amqplib. Packages using amqplib such as Rascal are supported.

Changed

  • 3868536 patch - Log debug messages when metrics are received for easier debugging.
as_unflxw
published 3.4.1 •

Changelog

Source

3.4.1

Published on 2024-04-24.

Fixed

  • 7e6f79d patch - Fix an issue where internal Next.js traces were not correctly ignored in certain circumstances.
as_unflxw
published 3.4.0 •

Changelog

Source

3.4.0

Published on 2024-04-22.

Added

  • 81bd0a9 minor - Heartbeats are currently only available to beta testers. If you are interested in trying it out, send an email to support@appsignal.com!


    Add heartbeats support. You can send heartbeats directly from your code, to track the execution of certain processes:

    import { heartbeat } from "@appsignal/nodejs"
    
    function sendInvoices() {
      // ... your code here ...
      heartbeat("send_invoices")
    }
    

    You can pass a function to heartbeat, to report to AppSignal both when the process starts, and when it finishes, allowing you to see the duration of the process:

    import { heartbeat } from "@appsignal/nodejs"
    
    function sendInvoices() {
      heartbeat("send_invoices", () => {
        // ... your code here ...
      })
    }
    

    If an exception is raised within the function, the finish event will not be reported to AppSignal, triggering a notification about the missing heartbeat. The exception will bubble outside of the heartbeat function.

    If the function passed to heartbeat returns a promise, the finish event will be reported to AppSignal if the promise resolves. This means that you can use heartbeats to track the duration of async functions:

    import { heartbeat } from "@appsignal/nodejs"
    
    async function sendInvoices() {
      await heartbeat("send_invoices", async () => {
        // ... your async code here ...
      })
    }
    

    If the promise is rejected, or if it never resolves, the finish event will not be reported to AppSignal.

  • 9985d08 patch - Implement the ignoreLogs configuration option, which can also be configured as the APPSIGNAL_IGNORE_LOGS environment variable.

    The value of ignoreLogs is a list (comma-separated, when using the environment variable) of log line messages that should be ignored. For example, the value "start" will cause any message containing the word "start" to be ignored. Any log line message containing a value in ignoreLogs will not be reported to AppSignal.

    The values can use a small subset of regular expression syntax (specifically, ^, $ and .*) to narrow or expand the scope of lines that should be matched.

    For example, the value "^start$" can be used to ignore any message that is exactly the word "start", but not messages that merely contain it, like "Process failed to start". The value "Task .* succeeded" can be used to ignore messages about task success regardless of the specific task name.

Changed

  • 6224018 patch - Appsignal.stop() now returns a promise. For your application to wait until AppSignal has been gracefully stopped, this promise must be awaited:

    import { Appsignal } from "@appsignal/nodejs"
    
    await Appsignal.stop()
    process.exit(0)
    

    In older Node.js versions where top-level await is not available, terminate the application when the promise is settled:

    import { Appsignal } from "@appsignal/nodejs"
    
    Appsignal.stop().finally(() => {
      process.exit(0)
    })
    
as_unflxw
published 3.3.4 •

Changelog

Source

3.3.4

Published on 2024-04-19.

Fixed

  • b344156 patch - Fix incorrect HTTP methods like render or getServerSideProps in Next.js 14 performance samples.
as_unflxw
published 3.3.3 •

Changelog

Source

3.3.3

Published on 2024-04-17.

Fixed

  • 80c7dbf patch - Fix UNKNOWN method in Next.js 14 performance traces.
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc