Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@aurox/telemetry
Advanced tools
Universal solution for logging, tracing, metrics, health-checks and more.
AUROX_TELEMETRY_SERVICE_PORT
: The port the telemetry service uses to respond to health check, metrics, etc... requests. Default: 8080
.AUROX_TELEMETRY_SERVICE_NAME
: The name of the service as a whole. Default: service
.AUROX_TELEMETRY_INSTANCE_NAME
: The name of the instance currently running. Defaults to instance name.Setups health-check endpoints such as /health
, /live
and /ready
on the telemetry service.
AUROX_TELEMETRY_BEACON_DISABLED
: Disables the beacon when set to true
, this forces the beacon to be disabled.Setups prometheus metrics endpoint /metrics
on the telemetry service.
AUROX_TELEMETRY_METRICS_DISABLED
: Disables the metrics when set to true
, this forces the metrics to be disabled.Intercepts the console
object to output json, yaml or pretty printed logs.
The logger will try to build a chain of errors for easier tracking. In order to make sure the chain is built correctly put cause first then the extra errors after:
try {
// carry out task
} catch (error) {
// caught error is treated as the cause of the new error
console.error(error, new Error('Failed to carry out task'));
}
AUROX_TELEMETRY_LOGGER_FORMAT
: How to output the logs. Can be json
, yaml
or pretty
. Default: json
.AUROX_TELEMETRY_LOGGER_SEVERITY
: Pick a severity to disable outputting any severity that is lower. Default: INFO
.
DEFAULT
, DEBUG
, INFO
, NOTICE
, WARNING
, ERROR
, CRITICAL
, ALERT
, EMERGENCY
Pushes traces to Jaeger agent for tracing.
AUROX_TELEMETRY_TRACER_DISABLED
: Disables the tracer when set to true
, this forces the tracer to be disabled.AUROX_TELEMETRY_TRACER_DEBUG
: Enables tracer debugging when set to true
, useful for debugging instrumentations.AUROX_TELEMETRY_TRACER_SAMPLE_RATE
: Sets the sample rate at which traces are sampled for collection. Default: 1
.AUROX_TELEMETRY_TRACER_AGENT_HOST
: Sets the host of the Jaeger Agent for udp packets. Default: localhost
.AUROX_TELEMETRY_TRACER_AGENT_PORT
: Sets the port of the Jaeger Agent for udp packets. Default: 6832
.FAQs
A universal solution for logging, tracing, metrics, health-checks and more
The npm package @aurox/telemetry receives a total of 1 weekly downloads. As such, @aurox/telemetry popularity was classified as not popular.
We found that @aurox/telemetry demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.