stackdriver / stackdriver-statsd-backend Goto Github PK
View Code? Open in Web Editor NEWBackend plugin for statsd to publish output to the Stackdriver custom metrics API
License: MIT License
Backend plugin for statsd to publish output to the Stackdriver custom metrics API
License: MIT License
We need to send data to StackDriver from EC2 instance without a public IP (mainly for security reason).
Is there a way to tell the plugin to use a proxy?
stackdriver.js Line 55 - should be this.source
breaks with newer nodes
I'm seeing all this stuff in statsd, but only rate and count in stackdriver for timers/histograms:
var clean_pct = '' + pct;
clean_pct = clean_pct.replace('.', '_').replace('-', 'top');
current_timer_data["count_" + clean_pct] = numInThreshold;
current_timer_data["mean_" + clean_pct] = mean;
current_timer_data[(pct > 0 ? "upper_" : "lower_") + clean_pct] = thresholdBoundary;
current_timer_data["sum_" + clean_pct] = sum;
current_timer_data["sum_squares_" + clean_pct] = sumSquares;
}
sum = cumulativeValues[count-1];
sumSquares = cumulSumSquaresValues[count-1];
mean = sum / count;
var sumOfDiffs = 0;
for (var i = 0; i < count; i++) {
sumOfDiffs += (values[i] - mean) * (values[i] - mean);
}
var mid = Math.floor(count/2);
var median = (count % 2) ? values[mid] : (values[mid-1] + values[mid])/2;
var stddev = Math.sqrt(sumOfDiffs / count);
current_timer_data["std"] = stddev;
current_timer_data["upper"] = max;
current_timer_data["lower"] = min;
current_timer_data["count"] = timer_counters[key];
current_timer_data["count_ps"] = timer_counters[key] / (flushInterval / 1000);
current_timer_data["sum"] = sum;
current_timer_data["sum_squares"] = sumSquares;
current_timer_data["mean"] = mean;
current_timer_data["median"] = median;
I have been trying to configure this backend for my GCE project, but it seems to either be abandoned or the documentation needs to be updated. I cannot find where to create the API-KEY.
The only API KEY I can find is called a legacy key and I get a 401 error when trying to use it with statsd
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.