Created
March 18, 2026 09:01
-
-
Save fudongyingluck/a6de6636a8fcc9ae161f08d1ebd1de96 to your computer and use it in GitHub Desktop.
grafana 源配置
This file contains hidden or 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
| apiVersion: 1 | |
| datasources: | |
| - name: Prometheus | |
| type: prometheus | |
| uid: prometheus | |
| url: http://prometheus:9090 | |
| isDefault: true | |
| editable: true | |
| jsonData: | |
| timeInterval: 15s | |
| - name: OpenSearch-Logs | |
| type: grafana-opensearch-datasource | |
| uid: opensearch-logs | |
| url: https://opensearch:9200 | |
| editable: true | |
| basicAuth: true | |
| basicAuthUser: admin | |
| secureJsonData: | |
| basicAuthPassword: "My_password_123!@#" | |
| jsonData: | |
| database: logs-otel-v1-* | |
| timeField: "@timestamp" | |
| version: "3.0.0" | |
| flavor: opensearch | |
| tlsSkipVerify: true | |
| logMessageField: body | |
| logLevelField: severityText | |
| - name: OpenSearch-Traces | |
| type: grafana-opensearch-datasource | |
| uid: opensearch-traces | |
| url: https://opensearch:9200 | |
| editable: true | |
| basicAuth: true | |
| basicAuthUser: admin | |
| secureJsonData: | |
| basicAuthPassword: "My_password_123!@#" | |
| jsonData: | |
| database: otel-v1-apm-span-* | |
| timeField: startTime | |
| version: "3.0.0" | |
| flavor: opensearch | |
| tlsSkipVerify: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment