rlankfo / grafana-javascript-agent

Monorepo for Grafana JavaScript Agent

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Grafana JavaScript Agent

Build Status

Warning This feature is currently pre-release and subject to frequent breaking changes.

Grafana JavaScript Agent is a library that can instrument frontend JavaScript applications to collect telemetry and forward it to the Grafana Agent (with app agent receiver integration enabled). We are also planning to implement this for backend JavaScript applications. Grafana Agent can then send this data to Prometheus, Loki, or Tempo.

The repository consists of multiple packages that can be combined depending on your requirements, as well as a demo, which can be run by following the README.md file.

Get started

See quick start for web applications.

Packages

Core

@grafana/agent-core is the main package that provides the core functionality of the agent. The README.md file provides an overview of the architecture and the API of library.

Web

@grafana/agent-web provides instrumentations, metas and transports for use in web applications. See The README.md for more information.

Tracing-web

@grafana/agent-tracing-web provides implementation for tracing web applications. See The README.md for more information.

Integrations

  1. @grafana/agent-integration-angular is a package that enables easier integration in projects built with Angular. FOR THE TIME BEING THIS PACKAGE IS A PLACEHOLDER.
  2. @grafana/agent-integration-react is a package that enables easier integration in projects built with React. FOR THE TIME BEING THIS PACKAGE IS A PLACEHOLDER.

About

Monorepo for Grafana JavaScript Agent

License:Apache License 2.0


Languages

Language:TypeScript 97.2%Language:JavaScript 2.7%Language:Shell 0.1%