-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document new beyla_network_inter_zone_bytes metric
- Loading branch information
Showing
4 changed files
with
26 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,7 @@ The following table describes the exported metrics in both OpenTelemetry and Pro | |
| Application process | `process.disk.io` | `process_disk_io_bytes_total` | Counter | bytes | Disk bytes transferred | | ||
| Application process | `process.network.io` | `process_network_io_bytes_total` | Counter | bytes | Network bytes transferred | | ||
| Network | `beyla.network.flow.bytes` | `beyla_network_flow_bytes` | Counter | bytes | Bytes submitted from a source network endpoint to a destination network endpoint | | ||
| Network | `beyla.network.inter.zone.bytes`| `beyla_network_inter_zone_bytes` | Counter | bytes | Bytes flowing between cloud availability zones in your cluster (Experimental, currently only available in Kubernetes) | | ||
|
||
Beyla can also export [Span metrics](/docs/tempo/latest/metrics-generator/span_metrics/) and | ||
[Service graph metrics](/docs/tempo/latest/metrics-generator/service-graph-view/), which you can enable via the | ||
|
@@ -95,18 +96,18 @@ In order to configure which attributes to show or which attributes to hide, chec | |
| `beyla.network.flow.bytes` | `dst.port` | hidden | | ||
| `beyla.network.flow.bytes` | `dst.zone` (only Kubernetes) | hidden | | ||
| `beyla.network.flow.bytes` | `iface` | hidden | | ||
| `beyla.network.flow.bytes` | `k8s.cluster.name` | shown if network metrics are enabled | | ||
| `beyla.network.flow.bytes` | `k8s.cluster.name` | shown if Kubernetes is enabled | | ||
| `beyla.network.flow.bytes` | `k8s.dst.name` | hidden | | ||
| `beyla.network.flow.bytes` | `k8s.dst.namespace` | shown if network metrics are enabled | | ||
| `beyla.network.flow.bytes` | `k8s.dst.namespace` | shown if Kubernetes is enabled | | ||
| `beyla.network.flow.bytes` | `k8s.dst.node.ip` | hidden | | ||
| `beyla.network.flow.bytes` | `k8s.dst.node.name` | hidden | | ||
| `beyla.network.flow.bytes` | `k8s.dst.owner.type` | hidden | | ||
| `beyla.network.flow.bytes` | `k8s.dst.type` | hidden | | ||
| `beyla.network.flow.bytes` | `k8s.dst.owner.name` | shown if network metrics are enabled | | ||
| `beyla.network.flow.bytes` | `k8s.dst.owner.name` | shown if Kubernetes is enabled | | ||
| `beyla.network.flow.bytes` | `k8s.src.name` | hidden | | ||
| `beyla.network.flow.bytes` | `k8s.src.namespace` | shown if network metrics are enabled | | ||
| `beyla.network.flow.bytes` | `k8s.src.namespace` | shown if Kubernetes is enabled | | ||
| `beyla.network.flow.bytes` | `k8s.src.node.ip` | hidden | | ||
| `beyla.network.flow.bytes` | `k8s.src.owner.name` | shown if network metrics are enabled | | ||
| `beyla.network.flow.bytes` | `k8s.src.owner.name` | shown if Kubernetes is enabled | | ||
| `beyla.network.flow.bytes` | `k8s.src.owner.type` | hidden | | ||
| `beyla.network.flow.bytes` | `k8s.src.type` | hidden | | ||
| `beyla.network.flow.bytes` | `server.port` | hidden | | ||
|
@@ -118,6 +119,11 @@ In order to configure which attributes to show or which attributes to hide, chec | |
| `beyla.network.flow.bytes` | `transport` | hidden | | ||
| Traces (SQL, Redis) | `db.query.text` | hidden | | ||
|
||
{{% admonition type="note" %}} | ||
Check warning on line 122 in docs/sources/metrics.md
|
||
The `beyla.network.inter.zone.bytes` metric supports the same set of attributes as `beyla.network.flow.bytes`, | ||
but all of them are hidden by default, except `k8s.cluster.name`, `src.zone` and `dst.zone`. | ||
{{% /admonition %}} | ||
Check warning on line 125 in docs/sources/metrics.md
|
||
|
||
## Internal metrics | ||
|
||
Beyla can be [configured to report internal metrics]({{< relref "./configure/internal-metrics-reporter.md" >}}) in Prometheus Format. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,13 +44,20 @@ network metrics (in the previous example, `otel_metrics_export`, but it also acc | |
|
||
## Network metrics configuration properties | ||
|
||
| YAML | Environment variable | Type | Default | | ||
| -------- | ----------------------- | ------- | ------- | | ||
| `enable` | `BEYLA_NETWORK_METRICS` | boolean | `false` | | ||
To enable network metrics, you need to add one of the following `features` to either | ||
the [otel_metrics_export]({{< relref "../configure/export-data.md" >}})) | ||
or [prometheus_export]({{< relref "../configure/export-data.md#prometheus-http-endpoint" >}})) | ||
configuration properties: | ||
|
||
* `network` enables the `beyla_network_flow_bytes` metric: the number of bytes between two endpoints of your cluster. | ||
* `network_inter_zone` enables `beyla_network_inter_zone_bytes` metric: the number of bytes between different | ||
availability zones in your Cloud cluster. | ||
|
||
{{% admonition type="caution" %}} | ||
Check warning on line 56 in docs/sources/network/config.md
|
||
The `beyla_network_inter_zone_bytes` specification is currently in experimental and only available for Kubernetes cluster. | ||
You might expect some breaking changes in future versions of Beyla. | ||
{{% /admonition %}} | ||
Check warning on line 59 in docs/sources/network/config.md
|
||
|
||
Explicitly enables network metrics reporting in Beyla. You can also enable network metrics reporting | ||
by adding `network` to the list of `features` for [otel_metrics_export]({{< relref "../configure/export-data.md" >}})) | ||
or [prometheus_export]({{< relref "../configure/export-data.md#prometheus-http-endpoint" >}})). | ||
|
||
| YAML | Environment variable | Type | Default | | ||
| -------------------- | ---------------------------------- | -------- | ------------------- | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters