newrelic / video-videojs-js Goto Github PK
View Code? Open in Web Editor NEWNew relic tracker for VideoJS player
License: Apache License 2.0
New relic tracker for VideoJS player
License: Apache License 2.0
Running npm run build
throws the following error:
[webpack-cli] Error: Unknown option '-p'
[webpack-cli] Run 'webpack --help' to see available commands and options
Webpack no longer uses -p
for production, and instead uses --mode production
. See: webpack/webpack-cli#1934
Replace webpack -p
for webpack --mode production
.
I can't find any npm/yarn package...
player.tech().hls is deprecated. Use player.tech().vhs instead
Current agent version is emitting a large amount of console warning logs.
Warning logs can be stopped using player.tech(true).hls instead of player.tech().hls
Importing newrelic-video-videojs
like newrelic-video-core
can be imported (and is imported in this repo) throws the following error in the Typescript project:
Attempted import error: 'VideojsTracker' is not exported from 'newrelic-video-core' (imported as 'nrvideo').
Making the following changes solved the problem for me:
diff --git a/node_modules/newrelic-video-videojs/src/index.js b/node_modules/newrelic-video-videojs/src/index.js
index 32b64c7..f15b601 100644
--- a/node_modules/newrelic-video-videojs/src/index.js
+++ b/node_modules/newrelic-video-videojs/src/index.js
@@ -2,5 +2,4 @@ import * as nrvideo from 'newrelic-video-core'
import Tracker from './tracker'
import './register-plugin'
-nrvideo.VideojsTracker = Tracker
-module.exports = nrvideo
+export default { ...nrvideo, VideojsTracker: Tracker }
Hi,
I am using new relic to track videos and ads using New Relic VideoJS tracker instruments.
I have deployed the agent and the dashboard as listed in the following link.
https://newrelic.com/blog/how-to-relic/tracking-your-videos-and-ads-with-new-relic
Everything seems fine data is smoothly flowing to New Relic default dashboard. But, I am unable to find any information about Video Quality Metrics or Events.
It is mentioned in the following link that New Relic Video tracking agent provides Video Quality Metrics or Events including bitrate.
https://newrelic.com/blog/how-to-relic/media-monitoring
I have also explored data in new relic using NRQL and Data Explorer utiltity but I am unable to find any data related to Bitrate.
Could please guide me where i can find the follwoing metrics in new relic if they exist...
Video Quality Upscale
Percentage
Video Quality Downscale
Percentage
Average Bitrate
Live Stream
Latency
Or any other KPIs that new relic provides for Video Quality
Secondly, From where, I can get the List of the all the Metrics or Events that tracked by new relic video tracking agent?
Thank you,
Shehrooz
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.