Giter Club home page Giter Club logo

docusaurus-plugin-for-datadog-rum's Introduction

docusaurus-plugin-for-datadog-rum

Integrates Datadog RUM with your Docusaurus site.

Installation

npm install --save @twilio-labs/docusaurus-plugin-for-datadog-rum

Or, if you prefer Yarn:

yarn add @twilio-labs/docusaurus-plugin-for-datadog-rum

Configuration

Accepted fields:

Name Type Default Description
clientToken string Required The client token for your Datadog RUM application
applicationId string Required The application ID for your Datadog RUM application
service string "docusaurus" The name your service will show within the Datadog UI
env string process.env.NODE_ENV ?? "dev" The environment of your deployed application

To create your application:

  1. Login to Datadog
  2. Choose UX Monitoring > RUM Applications
  3. Click New Application
  4. Choose JS (JavaScript) for the Application type
  5. Enter an Application name
  6. Click Create New RUM Application
  7. Under Instrument your application, choose the NPM type and find your clientToken and applicationId in the code sample that you can copy into your docusaurus.config.js.

Screenshot

If you already have an existing application created, instead of steps 3-6, click the Edit Application button next to your application and continue at step 7.

Example configuration

docusaurus.config.js

  plugins: [
    [
      "@twilio-labs/docusaurus-plugin-for-datadog-rum",
      {
        clientToken: "3EBOWfRPv8qwertyZXCvbnMAsD2f1g0Hf96",
        applicationId: "01234567-89ab-cdef-0123-456789abcdef",
        service: "my-docusaurus-site"
      },
    ],
  ],

docusaurus-plugin-for-datadog-rum's People

Contributors

dprothero avatar

Watchers

 avatar  avatar

Forkers

ricardomarsanc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.