
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
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.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.