Negotiate Pushing Milestone

    @opentelemetry/semantic-conventions
    TypeScript icon, indicating that this package has built-in type declarations

    0.23.0 • Public • Published

    OpenTelemetry Semantic Conventions

    NPM Published Version dependencies devDependencies Apache License

    Semantic Convention constants for use with the OpenTelemetry SDK/APIs. This document defines standard attributes for traces.

    Installation

    npm install --save @opentelemetry/semantic-conventions

    Usage

    import { GeneralAttribute } from '@opentelemetry/semantic-conventions';
    
    const span = tracer.startSpan().startSpan(spanName, spanOptions)
      .setAttributes({
        [GeneralAttribute.NET_PEER_HOSTNAME]: 'localhost',
      });

    Useful links

    License

    Apache 2.0 - See LICENSE for more information.

    Install

    npm i @opentelemetry/semantic-conventions

    DownloadsWeekly Downloads

    553,112

    Version

    0.23.0

    License

    Apache-2.0

    Unpacked Size

    253 kB

    Total Files

    39

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar