Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opentelemetry/instrumentation-tedious

Package Overview
Dependencies
Maintainers
3
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/instrumentation-tedious

OpenTelemetry instrumentation for `tedious` database client for Microsoft SQL Server

  • 0.17.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created

What is @opentelemetry/instrumentation-tedious?

@opentelemetry/instrumentation-tedious is an OpenTelemetry instrumentation library for the Tedious SQL Server client. It allows you to automatically collect and report telemetry data such as traces and metrics from your SQL Server interactions, which can be used for monitoring and debugging purposes.

What are @opentelemetry/instrumentation-tedious's main functionalities?

Automatic Tracing

This feature allows you to automatically trace SQL queries made using the Tedious client. The traces can be used to monitor the performance and behavior of your SQL queries.

{"import":"import { NodeTracerProvider } from '@opentelemetry/node';","import2":"import { registerInstrumentations } from '@opentelemetry/instrumentation';","import3":"import { TediousInstrumentation } from '@opentelemetry/instrumentation-tedious';","setup":"const provider = new NodeTracerProvider();","register":"registerInstrumentations({\n  instrumentations: [\n    new TediousInstrumentation(),\n  ],\n  tracerProvider: provider,\n});","start":"provider.register();"}

Custom Span Attributes

This feature allows you to add custom attributes to the spans generated by the Tedious instrumentation. This can be useful for adding additional context to your telemetry data.

{"import":"import { TediousInstrumentation } from '@opentelemetry/instrumentation-tedious';","setup":"const tediousInstrumentation = new TediousInstrumentation({\n  responseHook: (span, request, response) => {\n    span.setAttribute('custom-attribute', 'value');\n  }\n});"}

Other packages similar to @opentelemetry/instrumentation-tedious

Keywords

FAQs

Package last updated on 05 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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