Detalhes do pacote

elastic-apm-js-base

elastic1.7kMITdepreciado3.0.0

We have moved! Please install the latest version from @elastic/apm-rum

Elastic APM JavaScript agent

readme (leia-me)

Elastic APM Real User Monitoring (RUM) JavaScript agent

Build status js-standard-style

Sauce Test Status
Cross Browser testing is provided by Sauce Labs

This is the official Real User Monitoring JavaScript agent.

See our Documentation to get started.

We'd love to hear your feedback, please take a minute to fill out our survey.

changelog (log de mudanças)

3.0.0 (2019-01-29)

BREAKING CHANGE

  • remove setTags in favor of addTags API (#28)
  • introduce subtype and action in Spans (#9) (5fd4af7)

Features

  • add OpenTracing support (#138) (0cff389)
  • include transaction flags on error (#29) (36c13f3)
  • send span sync field to apm server (#17) (abad58b)
  • add addContext and addTags to Spans and Transactions (#16) (de0d72b)
  • add paint timing mark to page-load transaction (#14) (544530a)

Bug Fixes

  • propagate transaction ID for unsampled transactions (#30) (3884806)
  • remove invalid chars in span tags and marks (#34) (9bdc575)
  • Bundling - moving to webpack 4 and babel 7 (#123) (0ae3f53)
  • remove query strings from xhr and fetch span name (#24) (cc82e92)
  • set pageLoadTransactionName when transaction ends from configs (#25) (afdacee)

Performance Improvements

  • introduce minimal url parser to reduce bundle size (#32) (2000ee2)

2.2.0 (2018-12-05)

Features

  • introduce subtype and action in Spans (#9) (5fd4af7)

2.1.1 (2018-12-05)

Bug Fixes

  • use dist package for url-parse to avoid packaging issues (#10) (9018a8d)

Features

  • introduce subtype and action in Spans (#9) (5fd4af7)

2.1.0 (2018-12-03)

Features

2.0.0 (2018-11-14)

BREAKING CHANGES

  • use apm-server intake/v2 (APM Server v6.5+)

Bug Fixes

  • start page load transaction immediately after init (3b80bdb)
  • use pageLoadTransactionName config option (d3d3587)
  • adopt the w3c dt header flag proposal (ff0fdfc)
  • don't startSpan after transaction has ended (137bd63)
  • filter out invalid spans (c9fb0e1)
  • ignore apm-server xhrs (5527cca)
  • merging two spans related to fetching the initial document (6ee4108)
  • set pageLoadTraceId on page load transacton start (c6510ca)
  • set the sync property on xhr spans (4283e85)
  • shorten page load config options (2550c24)
  • truncate active spans on transaction end (a28759c)
  • validate DT header (5aa1cc1)

Features

  • add allowed origins for distributed tracing (0812ff7)
  • add DT header to same origin http requests (a60d6d9)
  • add DT page load trace id config option (149ebaa)
  • add pageLoadTransactionName config option (a2644df)
  • add parent_id to spans (21934b3)
  • add sampling for transactions (8105e0c)
  • generate random ids based on DT guidelines (8fd2581)
  • provide span_count.started (f3effcf)
  • use correct id format for transactions and spans (d44592e)

1.0.0 (2018-08-23)

BREAKING CHANGES

  • use /v1/rum endpoint (APM Server v6.4+)

0.10.3 (2018-08-20)

Bug Fixes

  • check marks are greater than fetchStart (6d35eaa)

Features

  • add transactionDurationThreshold config option (67f5c5d)

0.10.2 (2018-08-16)

Bug Fixes

  • check for undefined span when the agent is not active (3613b01)

0.10.1 (2018-08-14)

Bug Fixes

  • update elastic-apm-js-core to 0.8.1
  • filter out transactions with zero spans

0.10.0 (2018-08-07)

Features

0.9.1 (2018-06-22)

Bug Fixes

  • update elastic-apm-js-core to 0.7.1
  • consolidate Transaction and Error contexts

0.9.0 (2018-06-15)

BREAKING CHANGES

  • update elastic-apm-js-core to 0.7.0
  • remove timestamp on error and transaction payload
  • supporting apm-server 6.3

Bug Fixes

  • update span.context.http.url structure (40d6bb2)

0.8.2 (2018-06-12)

Bug Fixes

  • update elastic-apm-js-core 0.6.2 (b3807e0)
  • remove marks before fetchStart to align with resource spans
  • spans generated from navigation and resource timing apis

0.8.1 (2018-05-28)

Features

  • add transaction custom marks API (4d2b71b)

0.8.0 (2018-05-23)

BREAKING CHANGES

  • rename hasRouterLibrary to sendPageLoadTransaction

0.7.0 (2018-04-30)

Features

  • exposed api initial draft (9187726)

0.6.1 (2018-04-10)

Bug Fixes

  • update to elastic-apm-js-core 0.4.3 (1e307ac)

0.6.0 (2018-04-04)

Features

0.5.0 (2018-03-09)

Features

  • add apm.setTags (523280a)
  • update to elastic-apm-js-core 0.3.0 (a436334)

0.4.1 (2018-02-20)

Bug Fixes

  • send page load metrics even after load event (abe3680)

Features

  • upgrade to elastic-apm-js-core 0.2.2 (c2a6469)
    • enforce server string limit
    • set descriptive names for navigation timing spans

0.4.0 (2018-02-07)

Features

  • Remove elastic-apm-js-zone dependency (Reducing the size of the bundle)
  • Use es6-promise
  • Queue Errors and Transactions before sending
  • Throttle adding Errors and Transactions

0.3.0 (2018-01-11)

Bug Fixes

  • ApmBase: Disable the module if running on nodejs (2bf4199)
  • upgrade to elastic-apm-js-core 0.1.7 (325a918)

Features

  • add captureError to ApmBase (04436b4)
  • add setUserContext and setCustomContext (86b4ccc)

0.2.0 (2017-12-20)

BREAKING CHANGES

  • init returns ApmServer instance instead of ServiceFactory

0.1.1 (2017-12-20)

Bug Fixes

0.1.0 (2017-12-13)

BREAKING CHANGES

  • upgrading to apm-agent-js-core@0.1.0 (150bc66)
  • rename apiOrigin to serverUrl
  • rename app to service

0.0.3 (2017-11-21)

0.0.2 (2017-11-21)