
Research
/Security News
Contagious Interview Campaign Escalates With 67 Malicious npm Packages and New Malware Loader
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
testing-metrics
Advanced tools
This topic includes instructions on how to send custom metrics to Logz.io from your GO application.
This topic includes instructions on how to send custom metrics to Logz.io from your GO application.
The included example uses the OpenTelemetry GO SDK and the OpenTelemetry Cortex exporter, which are both in alpha/preview.
Before you begin, you'll need: Node
Set the variables in the following code snippet:
Environment variable | Description |
---|---|
url | The Logz.io Listener URL for for your region, configured to use port 8052 for http traffic, or port 8053 for https traffic. |
token | Your Logz.io Prometheus Metrics account token. |
p8s_logzio_name | Label to add to all custom metrics |
For more information, see the OpenTelemetry documentation.
Name | Behavior | Default aggregation |
---|---|---|
Counter | Metric value can only go up or be reset to 0, calculated per counter.Add(context,value,labels) request. | Sum |
UpDownCounter | Metric value can arbitrarily increment or decrement, calculated per updowncounter.Add(context,value,labels) request. | Sum |
ValueRecorder | Metric values captured by the valuerecorder.Record(context,value,labels) function, calculated per request. | TBD |
SumObserver | Metric value can only go up or be reset to 0, calculated per push interval. | Sum |
UpDownSumObserver | Metric value can arbitrarily increment or decrement, calculated per push interval. | Sum |
ValueObserver | Metric values captured by the callback function, calculated per push interval. | LastValue |
FAQs
This topic includes instructions on how to send custom metrics to Logz.io from your GO application.
We found that testing-metrics demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.