GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - imqueue/opentelemetry: OpenTelemetry instrumentation for @imqueue — every RPC traced, with no changes to service or client code

BranchesTags
Open more actions menu

Latest commit

 

History

61 Commits
61 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
scripts
scripts
 
 
signatures/version1
signatures/version1
 
 
src
src
 
 
test
test
 
 
.gitignore
.gitignore
 
 
.npmignore
.npmignore
 
 
.oxfmtrc.json
.oxfmtrc.json
 
 
.oxlintrc.json
.oxlintrc.json
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
CONTRIBUTION-TERMS.md
CONTRIBUTION-TERMS.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
index.ts
index.ts
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

@imqueue/opentelemetry


This module provides automatic opentelemetry instrumentation for the @imqueue


What Is This?

This library provides a clean way to integrate @imqueue/rpc with OpenTelemetry.

Renamed

This package was called @imqueue/opentelemetry-instrumentation-imqueue up to and including 3.3.1. The old name is deprecated on npm and receives no further releases; there is no compatibility shim. To migrate, change the dependency and every import specifier — nothing else in the API moved.

One thing to check before upgrading: the OpenTelemetry instrumentation scope name follows the package name, so otel.scope.name on the imq.request and imq.response spans changes from @imqueue/opentelemetry-instrumentation-imqueue to @imqueue/opentelemetry. Any dashboard, saved query, sampling rule or alert that filters on it needs updating. Spans from traceStart()/traceEnd() and @traced() are unaffected — those use their own tracer name (basic by default).

Do not install both packages at once: they patch the same @imqueue/rpc option singletons, and whichever is enabled last wins, silently.

Install

npm i --save @imqueue/opentelemetry

Usage & API

OpenTelemetry Imqueue Instrumentation allows the user to automatically collect trace data and export them to their backend of choice, to give observability to distributed systems.

import { NodeTracerProvider } from '@opentelemetry/sdk-trace-node';
import { registerInstrumentations } from '@opentelemetry/instrumentation';
import {
    ImqueueInstrumentation,
} from '@imqueue/opentelemetry';

const provider = new NodeTracerProvider();

provider.register();

registerInstrumentations({
  instrumentations: [
    new ImqueueInstrumentation(),
  ],
});

Contributing

Any contributions are greatly appreciated. Feel free to fork, propose PRs, open issues, do whatever you think may be helpful to this project. PRs which passes all tests and do not brake tslint rules are first-class candidates to be accepted!

License

This project is licensed under the GNU General Public License v3.0. See the LICENSE

Happy Coding!

About

OpenTelemetry instrumentation for @imqueue — every RPC traced, with no changes to service or client code

imqueue.org

Topics

apmimqueueinstrumentationnodejsobservabilityopentelemetryoteltracingtypescript

Resources

Readme
GPL-3.0 license

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.