-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Many more examples and fixes found from making them. (#771)
Signed-off-by: Pete Wall <pete.wall@grafana.com>
- Loading branch information
Showing
126 changed files
with
29,754 additions
and
91 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
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
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
Binary file modified
BIN
+1 Byte
(100%)
charts/k8s-monitoring/charts/k8s-monitoring-feature-annotation-autodiscovery-1.0.0.tgz
Binary file not shown.
Binary file modified
BIN
+2 Bytes
(100%)
charts/k8s-monitoring/charts/k8s-monitoring-feature-application-observability-1.0.0.tgz
Binary file not shown.
Binary file modified
BIN
+1 Byte
(100%)
charts/k8s-monitoring/charts/k8s-monitoring-feature-cluster-events-1.0.0.tgz
Binary file not shown.
Binary file modified
BIN
+5 Bytes
(100%)
charts/k8s-monitoring/charts/k8s-monitoring-feature-cluster-metrics-1.0.0.tgz
Binary file not shown.
Binary file modified
BIN
+1 Byte
(100%)
charts/k8s-monitoring/charts/k8s-monitoring-feature-frontend-observability-1.0.0.tgz
Binary file not shown.
Binary file modified
BIN
+6 Bytes
(100%)
charts/k8s-monitoring/charts/k8s-monitoring-feature-integrations-1.0.0.tgz
Binary file not shown.
Binary file modified
BIN
+3 Bytes
(100%)
charts/k8s-monitoring/charts/k8s-monitoring-feature-pod-logs-1.0.0.tgz
Binary file not shown.
Binary file modified
BIN
+2 Bytes
(100%)
charts/k8s-monitoring/charts/k8s-monitoring-feature-profiling-1.0.0.tgz
Binary file not shown.
Binary file modified
BIN
+16 Bytes
(100%)
charts/k8s-monitoring/charts/k8s-monitoring-feature-prometheus-operator-objects-1.0.0.tgz
Binary file not shown.
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
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
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
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
74 changes: 74 additions & 0 deletions
74
charts/k8s-monitoring/docs/examples/auth/bearer-token/README.md
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 |
---|---|---|
@@ -0,0 +1,74 @@ | ||
<!-- | ||
(NOTE: Do not edit README.md directly. It is a generated file!) | ||
( To make changes, please modify values.yaml or description.txt and run `make examples`) | ||
--> | ||
# Bearer Token Authentication | ||
|
||
This example demonstrates how to use a bearer token for authentication. The Prometheus destination defines the bearer | ||
token inside the values file. The Loki destination gets a bearer token from an environment variable defined on the | ||
`alloy-logs` collector. And the OTLP destination gets a bearer token from a pre-existing Kubernetes secret. | ||
|
||
## Values | ||
|
||
```yaml | ||
--- | ||
cluster: | ||
name: bearer-token-example-cluster | ||
|
||
destinations: | ||
- name: prometheus | ||
type: prometheus | ||
url: http://prometheus.prometheus.svc:9090/api/v1/write | ||
auth: | ||
type: bearerToken | ||
bearerToken: sample-bearer-token | ||
|
||
- name: loki | ||
type: loki | ||
url: http://loki.loki.svc:3100/loki/api/v1/push | ||
auth: | ||
type: bearerToken | ||
bearerTokenFrom: env("LOKI_BEARER_TOKEN") | ||
|
||
- name: tempo | ||
type: otlp | ||
url: http://tempo.tempo.svc:4317 | ||
auth: | ||
type: bearerToken | ||
bearerTokenKey: tempoBearerToken | ||
secret: | ||
create: false | ||
name: my-tempo-secret | ||
namespace: tempo | ||
|
||
applicationObservability: | ||
enabled: true | ||
receivers: | ||
grpc: | ||
enabled: true | ||
|
||
prometheusOperatorObjects: | ||
enabled: true | ||
|
||
podLogs: | ||
enabled: true | ||
|
||
alloy-metrics: | ||
enabled: true | ||
|
||
alloy-logs: | ||
enabled: true | ||
alloy: | ||
extraEnv: | ||
- name: LOKI_BEARER_TOKEN | ||
value: sample-bearer-token | ||
|
||
alloy-receiver: | ||
enabled: true | ||
alloy: | ||
extraPorts: | ||
- name: otlp-grpc | ||
port: 4317 | ||
targetPort: 4317 | ||
protocol: TCP | ||
``` |
Oops, something went wrong.