|
| 1 | +<!-- |
| 2 | +(NOTE: Do not edit README.md directly. It is a generated file!) |
| 3 | +( To make changes, please modify README.md.gotmpl and run `helm-docs`) |
| 4 | +--> |
| 5 | + |
| 6 | +# k8s-monitoring-feature-auto-instrumentation |
| 7 | + |
| 8 | +  |
| 9 | +Gathers telemetry data via automatic instrumentation |
| 10 | + |
| 11 | +The auto-instrumentation feature deploys Grafana Beyla to automatically instrument programs running on this cluster |
| 12 | +using eBPF. |
| 13 | + |
| 14 | +## Testing |
| 15 | + |
| 16 | +This chart contains unit tests to verify the generated configuration. A hidden value, `deployAsConfigMap`, will render |
| 17 | +the generated configuration into a ConfigMap object. This ConfigMap is not used during regular operation, but it is |
| 18 | +useful for showing the outcome of a given values file. |
| 19 | + |
| 20 | +The unit tests use this to create an object with the configuration that can be asserted against. To run the tests, use |
| 21 | +`helm test`. |
| 22 | + |
| 23 | +Actual integration testing in a live environment should be done in the main [k8s-monitoring](../k8s-monitoring) chart. |
| 24 | + |
| 25 | +## Maintainers |
| 26 | + |
| 27 | +| Name | Email | Url | |
| 28 | +| ---- | ------ | --- | |
| 29 | +| petewall | < [email protected]> | | |
| 30 | +<!-- markdownlint-disable no-bare-urls --> |
| 31 | +<!-- markdownlint-disable list-marker-space --> |
| 32 | +## Source Code |
| 33 | + |
| 34 | +* <https://github.com/grafana/k8s-monitoring-helm/tree/main/charts/feature-annotation-autodiscovery> |
| 35 | + |
| 36 | +## Requirements |
| 37 | + |
| 38 | +| Repository | Name | Version | |
| 39 | +|------------|------|---------| |
| 40 | +| https://grafana.github.io/helm-charts | beyla | 1.4.11 | |
| 41 | +<!-- markdownlint-enable list-marker-space --> |
| 42 | +<!-- markdownlint-enable no-bare-urls --> |
| 43 | +<!-- markdownlint-disable no-space-in-emphasis --> |
| 44 | +## Values |
| 45 | + |
| 46 | +### Beyla |
| 47 | + |
| 48 | +| Key | Type | Default | Description | |
| 49 | +|-----|------|---------|-------------| |
| 50 | +| beyla.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Beyla. These relabeling rules are applied pre-scrape against the targets from service discovery. Before the scrape, any remaining target labels that start with __ (i.e. __meta_kubernetes*) are dropped. ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery.relabel/#rule-block)) | |
| 51 | +| beyla.extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Beyla. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus.relabel/#rule-block)) These relabeling rules are applied post-scrape against the metrics returned from the scraped target, no __meta* labels are present. | |
| 52 | +| beyla.labelMatchers | object | `{"app.kubernetes.io/name":"beyla"}` | Label matchers used to select the Beyla pods for scraping metrics. | |
| 53 | +| beyla.maxCacheSize | string | 100000 | Sets the max_cache_size for the prometheus.relabel component for Beyla. This should be at least 2x-5x your largest scrape target or samples appended rate. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus.relabel/#arguments)) Overrides metrics.maxCacheSize | |
| 54 | +| beyla.metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | |
| 55 | +| beyla.metricsTuning.includeMetrics | list | `[]` | Metrics to keep. Can use regular expressions. | |
| 56 | +| beyla.preset | string | `"application"` | The configuration preset to use. Valid options are "application" or "network". | |
| 57 | +| beyla.scrapeInterval | string | 60s | How frequently to scrape metrics from Beyla. Overrides metrics.scrapeInterval | |
| 58 | +| beyla.service | object | `{"targetPort":9090}` | The port number for the Beyla service. | |
| 59 | + |
| 60 | +### General settings |
| 61 | + |
| 62 | +| Key | Type | Default | Description | |
| 63 | +|-----|------|---------|-------------| |
| 64 | +| fullnameOverride | string | `""` | Full name override | |
| 65 | +| nameOverride | string | `""` | Name override | |
| 66 | + |
| 67 | +### Global Settings |
| 68 | + |
| 69 | +| Key | Type | Default | Description | |
| 70 | +|-----|------|---------|-------------| |
| 71 | +| global.maxCacheSize | int | `100000` | Sets the max_cache_size for every prometheus.relabel component. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus.relabel/#arguments)) This should be at least 2x-5x your largest scrape target or samples appended rate. | |
| 72 | +| global.scrapeInterval | string | `"60s"` | How frequently to scrape metrics. | |
| 73 | +<!-- markdownlint-enable no-space-in-emphasis --> |
0 commit comments