content large_stringlengths 3 20.5k | url large_stringlengths 53 192 β | branch large_stringclasses 4
values | source large_stringclasses 51
values | embeddings listlengths 384 384 | score float64 -0.21 0.65 |
|---|---|---|---|---|---|
# Install plugins in Grafana Cloud using Terraform This guide shows you how to install plugins in Grafana Cloud using Terraform. For more information about Grafana plugins, refer to the [Find and use Grafana plugins](/docs/grafana-cloud/introduction/find-and-use-plugins/) documentation. ## Before you begin Before you b... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-plugins.md | main | grafana | [
-0.06889142841100693,
-0.05221940577030182,
-0.0802265927195549,
-0.02386866696178913,
-0.0923762321472168,
-0.04023143649101257,
-0.084430031478405,
-0.050603169947862625,
-0.03915181756019592,
0.10692109912633896,
-0.0017534629441797733,
-0.08641742914915085,
0.004132313188165426,
0.0040... | 0.037744 |
# Create and manage dashboards using Terraform and GitHub Actions Learn how to create and manage multiple dashboards represented as JSON source code for Grafana using Terraform and GitHub Actions. ## Prerequisites Before you begin, ensure you have the following: - A Grafana Cloud account, as shown in [Get started](http... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/dashboards-github-action.md | main | grafana | [
-0.08135255426168442,
-0.034837812185287476,
-0.10140524804592133,
-0.01134614646434784,
-0.04575429484248161,
-0.03941423445940018,
-0.09539298713207245,
0.0008302020723931491,
0.025231773033738136,
0.10975700616836548,
-0.041675686836242676,
-0.09723910689353943,
0.06738067418336868,
0.0... | 0.071565 |
checked out so that the GitHub workflow can access it. - The Terraform CLI is installed on the GitHub runner using the [hashicorp/setup-terraform@v1](https://github.com/hashicorp/setup-terraform) action. - `terraform init` is run as a bash command in the GitHub runner to initialize a working directory containing Terraf... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/dashboards-github-action.md | main | grafana | [
-0.016403473913669586,
-0.012854238972067833,
0.012316995300352573,
-0.028061287477612495,
0.019025355577468872,
-0.06088564544916153,
-0.06735789775848389,
-0.027580872178077698,
0.0525042824447155,
0.037358228117227554,
-0.052148155868053436,
-0.03025773912668228,
0.00024268621928058565,
... | 0.026478 |
in Git. ```yaml - name: commit the terraform state if: github.ref == 'refs/heads/main' uses: stefanzweifel/git-auto-commit-action@v4 with: commit\_message: Updating Terraform state file\_pattern: terraform.tfstate ``` When you run `terraform apply`, Terraform automatically manages and updates the `terraform.tfstate` fi... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/dashboards-github-action.md | main | grafana | [
-0.0221608504652977,
-0.010108605958521366,
0.02033150941133499,
0.02430449053645134,
-0.00293088611215353,
-0.037452805787324905,
-0.03554721176624298,
-0.03692364692687988,
0.08988895267248154,
0.11544512212276459,
-0.0060260603204369545,
-0.035036370158195496,
0.0004806893120985478,
-0.... | 0.049765 |
# Manage Grafana IRM in Grafana Cloud using Terraform Learn how to use Terraform to manage [Grafana IRM](https://grafana.com/docs/grafana-cloud/alerting-and-irm/irm/) resources. This guide shows you how to connect an integration, configure escalation policies, and add on-call schedules using Terraform. To illustrate th... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-oncall.md | main | grafana | [
-0.0753721222281456,
-0.01951153576374054,
-0.046625152230262756,
0.05395670607686043,
-0.039963822811841965,
-0.10058693587779999,
-0.04710685461759567,
-0.05744892731308937,
0.004764165263622999,
0.10770438611507416,
-0.024944527074694633,
-0.07221583276987076,
-0.004407059866935015,
0.0... | 0.096859 |
Token - `` with the API URL found on the \*\*Admin & API\*\* tab of the IRM \*\*Settings\*\* page {{< /collapse >}} ## Add on-call schedules This Terraform configuration sets up two on-call schedules, `SREs` and `Devs`, using the [`grafana\_oncall\_schedule` resource](https://registry.terraform.io/providers/grafana/gra... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-oncall.md | main | grafana | [
-0.10797064006328583,
-0.02518017403781414,
-0.04695472493767738,
0.05991632491350174,
-0.06750086694955826,
-0.09852205216884613,
-0.037117742002010345,
-0.05348566547036171,
0.06129121407866478,
0.07535157352685928,
-0.08818969875574112,
-0.059751372784376144,
-0.011087502352893353,
0.03... | 0.111167 |
## Connect an integration to Grafana IRM This Terraform configuration connects Alertmanager to Grafana IRM using the [`grafana\_oncall\_integration` (Resource)](https://registry.terraform.io/providers/grafana/grafana/latest/docs/resources/oncall\_integration). It also adds the `Devs` escalation chain as the default rou... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-oncall.md | main | grafana | [
-0.04757732152938843,
0.012544205412268639,
-0.06710528582334518,
0.04911219701170921,
-0.0076804617419838905,
-0.124771349132061,
-0.0078172218054533,
-0.0565275102853775,
0.05584834888577461,
0.08224712312221527,
-0.024678651243448257,
-0.08493462204933167,
0.012021178379654884,
0.016173... | 0.097346 |
# Create and manage a Grafana Cloud stack using Terraform Learn how to add a data source, a dashboard, and a folder to a Grafana Cloud stack using Terraform. ## Prerequisites Before you begin, ensure you have the following: - A Grafana Cloud account, as shown in [Get started](/docs/grafana-cloud/get-started/) - [Terraf... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-cloud-stack.md | main | grafana | [
-0.08087989687919617,
-0.06728628277778625,
-0.059688981622457504,
-0.006999421864748001,
-0.06070798635482788,
-0.06009037792682648,
-0.07970541715621948,
-0.016933796927332878,
0.014521520584821701,
0.11119993031024933,
0.008226456120610237,
-0.10571124404668808,
0.015445169992744923,
-0... | 0.014304 |
a folder in your Grafana instance using [grafana\_folder (Resource)](https://registry.terraform.io/providers/grafana/grafana/latest/docs/resources/folder). 1. Create a file named `folder.tf` and add the following: ```terraform resource "grafana\_folder" "" { provider = grafana.my\_stack title = "" } ``` 1. Replace the ... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-cloud-stack.md | main | grafana | [
-0.09101565927267075,
-0.005531399045139551,
-0.08074332773685455,
-0.015028981491923332,
-0.06799022108316422,
-0.04688378423452377,
-0.07854659855365753,
-0.01597585901618004,
0.03606661036610603,
0.10791046172380447,
-0.03017743118107319,
-0.09922296553850174,
0.023644963279366493,
0.05... | 0.017592 |
# Manage Frontend Observability in Grafana Cloud with Terraform Learn how to use Terraform to manage [Grafana Frontend Observability](https://grafana.com/docs/grafana-cloud/frontend-observability/) resources, such as your applications. This guide shows you how to create an access policy and a token for Frontend Observa... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-frontend-observability.md | main | grafana | [
-0.05997862294316292,
0.00861632451415062,
-0.06383191049098969,
-0.006319609470665455,
-0.04814137890934944,
-0.055162131786346436,
-0.06547392904758453,
-0.05312944948673248,
-0.038491711020469666,
0.10431254655122757,
-0.044146519154310226,
-0.06645321846008301,
0.010106129571795464,
0.... | 0.038116 |
# Manage Cloud Provider Observability in Grafana Cloud using Terraform Manage Cloud Provider Observability, including Amazon CloudWatch and Microsoft Azure resources, in Grafana Cloud using Terraform. For more information on Cloud Provider Observability, refer to the [Cloud Provider Observability](/docs/grafana-cloud/m... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-cloud-provider-o11y.md | main | grafana | [
-0.05287564545869827,
-0.03446756675839424,
-0.08545595407485962,
-0.0033154096454381943,
-0.034210167825222015,
-0.02831903286278248,
-0.04183919355273247,
-0.08838625997304916,
-0.013219957239925861,
0.11302720010280609,
-0.01603247970342636,
-0.08763603866100311,
0.016254248097538948,
0... | 0.038982 |
reducing cost and manual effort. - [ALB access logs](/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/logs/cloudwatch-logs/config-alb-access-logs-lambda/#configure-with-terraform): Send application load balancer access logs from AWS to Grafana Cloud using a Lambda function. - [Logs with Lambda](/do... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-cloud-provider-o11y.md | main | grafana | [
-0.06078968569636345,
0.0011990669881924987,
-0.07441028952598572,
0.013833452947437763,
-0.04607631638646126,
-0.10167401283979416,
-0.03262725844979286,
-0.09109918028116226,
0.037462811917066574,
0.14349083602428436,
-0.048749685287475586,
-0.12495681643486023,
0.03602505847811699,
-0.0... | 0.018085 |
# Manage Fleet Management in Grafana Cloud using Terraform Learn how to create [Grafana Fleet Management](https://grafana.com/docs/grafana-cloud/send-data/fleet-management/) collectors and pipelines in Grafana Cloud using Terraform. This guide shows you how to create an access policy and a token for Fleet Management an... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-fleet-management.md | main | grafana | [
-0.10106746852397919,
0.01036530639976263,
-0.0687902420759201,
0.03529299423098564,
-0.07558021694421768,
-0.04503847286105156,
-0.04668993875384331,
-0.04493433237075806,
-0.0863499715924263,
0.07355129718780518,
-0.06345721334218979,
-0.12081101536750793,
0.07194647938013077,
0.00168702... | 0.107362 |
matcher for the collector declared in the previous step, using [`grafana\_fleet\_management\_pipeline` (Resource)](https://registry.terraform.io/providers/grafana/grafana/latest/docs/resources/fleet\_management\_pipeline). The pipeline writes the profiles to [Grafana Cloud Profiles](https://grafana.com/docs/grafana-clo... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-fleet-management.md | main | grafana | [
-0.1438792496919632,
0.046559177339076996,
-0.08057790994644165,
0.00293041137047112,
-0.05007077381014824,
-0.0654933974146843,
-0.023886561393737793,
0.0011792248114943504,
-0.06427942961454391,
0.010567791759967804,
-0.046592071652412415,
-0.13407465815544128,
0.02176690101623535,
-0.00... | 0.074645 |
following command to view the Alloy token: ```shell terraform output -raw alloy\_token ``` 1. Set the environment variable `GCLOUD\_RW\_API\_KEY` to the value from the first step. 1. Run Alloy. ## Validation After you apply the changes in the Terraform configurations and run Alloy, you should be able to verify the foll... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-fleet-management.md | main | grafana | [
-0.11774487048387527,
-0.00007478120096493512,
-0.024532152339816093,
0.03476237133145332,
-0.008644962683320045,
-0.04339459910988808,
-0.03223521262407303,
-0.04259892925620079,
-0.02892022579908371,
0.03010132908821106,
-0.044609252363443375,
-0.1120789423584938,
0.0751536563038826,
-0.... | 0.098742 |
# Grafana Terraform provider The [Grafana Terraform provider](https://registry.terraform.io/providers/grafana/grafana/latest) provisions configuration management resources for Grafana. You can use it to manage resources such as dashboards, data sources, plugins, folders, organizations, and alert notification channels. ... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/_index.md | main | grafana | [
-0.08344442397356033,
-0.06408845633268356,
-0.07108615338802338,
0.017767637968063354,
-0.05105242133140564,
-0.08510428667068481,
-0.05452515557408333,
-0.023374168202280998,
-0.006518669426441193,
0.11046182364225388,
-0.01843555085361004,
-0.08230080455541611,
0.04680990055203438,
0.00... | 0.104064 |
# Configure log correlation using Terraform Log configurations in [Knowledge Graph](/docs/grafana-cloud/knowledge-graph/) allow you to define how log data is queried and correlated with entities. You can specify data sources, entity matching rules, label mappings, and filtering options for spans and traces. For informa... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-knowledge-graph/log-configurations.md | main | grafana | [
-0.031051211059093475,
0.0015616579912602901,
0.01311151497066021,
0.009444104507565498,
-0.05093729496002197,
-0.07256287336349487,
0.0009742790716700256,
-0.11818088591098785,
0.0032377291936427355,
0.16618311405181885,
0.0009653787710703909,
-0.09901030361652374,
0.03486151248216629,
0.... | 0.011808 |
entity properties. Refer to [match block](#match-block) for details. | | `error\_label` | `string` | No | Label name used to identify error logs. | | `entity\_property\_to\_log\_label\_mapping` | `map(string)` | No | Mapping of entity properties to log labels for correlation. | | `filter\_by\_span\_id` | `bool` | No | ... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-knowledge-graph/log-configurations.md | main | grafana | [
-0.022014442831277847,
-0.022025343030691147,
0.013414011336863041,
0.07504679262638092,
0.023260435089468956,
-0.018797583878040314,
0.06777627766132355,
-0.07938718795776367,
0.014363243244588375,
0.0037528141401708126,
0.0012729871086776257,
-0.08617943525314331,
0.01823897659778595,
0.... | 0.055578 |
# Create custom model rules using Terraform Custom model rules in [Knowledge Graph](/docs/grafana-cloud/knowledge-graph/) allow you to define how entities are discovered and modeled based on Prometheus queries. These rules enable you to create custom entity types, define their relationships, and specify how they should... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-knowledge-graph/custom-model-rules.md | main | grafana | [
-0.07583218067884445,
0.029352523386478424,
-0.006014266051352024,
0.005472790915518999,
-0.09089954197406769,
-0.06891427934169769,
-0.03128945454955101,
-0.07498052716255188,
-0.03384025767445564,
0.15284207463264465,
-0.021043971180915833,
-0.06354846060276031,
0.07643285393714905,
0.08... | 0.060013 |
definition from application metrics defined\_by { query = "http\_requests\_total{service!=''}" label\_values = { service = "service" environment = "environment" version = "version" } literals = { \_secondary\_source = "http\_metrics" } } # Disabled definition for testing defined\_by { query = "test\_metric{service!=''}... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-knowledge-graph/custom-model-rules.md | main | grafana | [
-0.06445249170064926,
0.016159499064087868,
-0.04113388434052467,
-0.004617108963429928,
-0.07249633222818375,
-0.06470948457717896,
0.02170412428677082,
-0.0681791752576828,
-0.011391041800379753,
0.11726490408182144,
-0.006875237450003624,
-0.0948779284954071,
0.11262284964323044,
-0.014... | 0.045516 |
query that defines this entity. | | `disabled` | `bool` | No | Whether this query is disabled. Defaults to `false`. | | `label\_values` | `map(string)` | No | Label value mappings for extracting entity attributes from query results. | | `literals` | `map(string)` | No | Literal value mappings for adding static attribut... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-knowledge-graph/custom-model-rules.md | main | grafana | [
-0.02666151523590088,
0.07487355172634125,
-0.0028074944857507944,
0.06319987773895264,
-0.029420336708426476,
0.00953154917806387,
0.05105777829885483,
-0.08197979629039764,
0.01591251790523529,
0.02445710077881813,
0.03729621693491936,
-0.04771381616592407,
0.03704862669110298,
-0.029224... | 0.02705 |
# Configure profile correlation using Terraform Profile configurations in [Knowledge Graph](/docs/grafana-cloud/knowledge-graph/) allow you to define how continuous profiling data is queried and correlated with entities. You can specify data sources, entity matching rules, and label mappings for performance profiling. ... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-knowledge-graph/profile-configurations.md | main | grafana | [
-0.014059364795684814,
0.010155915282666683,
-0.04232780262827873,
0.02310682088136673,
-0.07829444110393524,
-0.05559037625789642,
-0.012042260728776455,
-0.08402209728956223,
-0.057955000549554825,
0.12690818309783936,
-0.001670725061558187,
-0.10944031178951263,
0.05384087190032005,
0.0... | 0.004388 |
| | `match` | `list(object)` | No | List of match rules for entity properties. Refer to [match block](#match-block) for details. | | `entity\_property\_to\_profile\_label\_mapping` | `map(string)` | No | Mapping of entity properties to profile labels for correlation. | #### Match block Each `match` block supports the f... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-knowledge-graph/profile-configurations.md | main | grafana | [
0.031354792416095734,
0.0424337275326252,
-0.006597552914172411,
0.032450925558805466,
-0.020953673869371414,
0.04236537218093872,
0.054161928594112396,
-0.004544122144579887,
-0.058486055582761765,
-0.046512264758348465,
0.004836157895624638,
-0.16328103840351105,
0.03477859124541283,
0.0... | -0.001599 |
Graph ## Related documentation - [Configure profiles correlation in Knowledge Graph](/docs/grafana-cloud/knowledge-graph/configure/profiles-correlation/) - [Get started with Terraform for Knowledge Graph](../getting-started/) - [Pyroscope documentation](/docs/pyroscope/latest/) - [Grafana Agent profiling](/docs/agent/l... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-knowledge-graph/profile-configurations.md | main | grafana | [
-0.032013215124607086,
0.014189017005264759,
-0.08862543851137161,
-0.010637800209224224,
-0.003005137899890542,
-0.061432499438524246,
-0.020355448126792908,
-0.02972247637808323,
-0.0837496668100357,
0.10521327704191208,
0.04666566848754883,
-0.06023198738694191,
0.02677157148718834,
0.0... | 0.097992 |
# Manage Prometheus rules using Terraform Prometheus rules in the [Knowledge Graph](/docs/grafana-cloud/knowledge-graph/) allow you to define custom recording and alerting rules that are evaluated against your metrics data. Recording rules pre-compute frequently used or computationally expensive expressions and save th... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-knowledge-graph/prometheus-rules.md | main | grafana | [
-0.05959201604127884,
0.03917913883924484,
-0.014788893051445484,
0.013386111706495285,
-0.03782793506979942,
-0.12846022844314575,
-0.02547577954828739,
-0.053636856377124786,
-0.020202288404107094,
0.12685851752758026,
-0.015172251500189304,
-0.08209214359521866,
0.04704044386744499,
0.0... | 0.11772 |
for {{ $labels.job }} is above 5 seconds" } } } # Throughput rules group { name = "throughput\_rules" interval = "1m" rule { record = "job:http\_requests:rate1m" expr = "sum(rate(http\_requests\_total[1m])) by (job)" } rule { alert = "LowThroughput" expr = "job:http\_requests:rate1m < 10" duration = "10m" labels = { se... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-knowledge-graph/prometheus-rules.md | main | grafana | [
-0.10306703299283981,
0.09753668308258057,
-0.07859255373477936,
0.014751174487173557,
0.004884428810328245,
-0.10835713148117065,
0.01665450632572174,
-0.07342313230037689,
0.004125664941966534,
0.06693460792303085,
-0.023671671748161316,
-0.1090090200304985,
0.024098942056298256,
-0.0117... | 0.117644 |
{{ $labels.namespace }}/{{ $labels.deployment }} has not matched the expected number of replicas for more than 10 minutes" } } } group { name = "kubernetes\_node\_rules" interval = "1m" rule { alert = "NodeNotReady" expr = "kube\_node\_status\_condition{condition=\"Ready\",status=\"true\"} == 0" duration = "5m" labels ... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-knowledge-graph/prometheus-rules.md | main | grafana | [
0.061170849949121475,
0.058029867708683014,
0.03130361810326576,
0.041140116751194,
0.06074291467666626,
0.013931474648416042,
0.05395998805761337,
-0.0776294469833374,
0.11846429109573364,
0.017973918467760086,
0.034858010709285736,
-0.12894408404827118,
0.012402367778122425,
-0.033128574... | 0.133155 |
uses the global evaluation interval. | | `rule` | `list(object)` | Yes | List of Prometheus rules in this group. Refer to [rule block](#rule-block) for details. | #### Rule block Each `rule` block defines a recording or alerting rule. Either `record` or `alert` must be specified, but not both: | Name | Type | Required ... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-knowledge-graph/prometheus-rules.md | main | grafana | [
-0.049895383417606354,
0.10994137078523636,
-0.02636358141899109,
0.017546463757753372,
0.043114881962537766,
-0.05750139802694321,
0.06828350573778152,
-0.01870759390294552,
0.004097757861018181,
-0.062171272933483124,
-0.0016765540931373835,
-0.0932697057723999,
0.018814099952578545,
0.0... | 0.119402 |
unused rules periodically ## Validation After applying the Terraform configuration, verify that: - Rule files are created and visible in the Knowledge Graph rules configuration - Recording rules are generating the expected time series - Alerting rules are evaluating correctly - Alert thresholds trigger notifications as... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-knowledge-graph/prometheus-rules.md | main | grafana | [
-0.04459673538804054,
0.027165016159415245,
0.031588420271873474,
0.013464875519275665,
0.007811760529875755,
-0.10522685945034027,
-0.022764364257454872,
-0.0771690234541893,
-0.011958874762058258,
0.09503935277462006,
-0.03256789967417717,
-0.11624228954315186,
0.03603927046060562,
0.023... | 0.038285 |
# Get started with Terraform for Knowledge Graph Learn how to configure Terraform to manage Grafana Cloud Knowledge Graph resources. This guide walks you through setting up the Grafana Terraform provider and preparing your environment. ## Before you begin Before you begin, ensure you have the following: - A Grafana Clo... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-knowledge-graph/getting-started.md | main | grafana | [
-0.06221592053771019,
-0.008209372870624065,
-0.06805554777383804,
0.010058986023068428,
-0.06313629448413849,
-0.0618598535656929,
-0.05144444853067398,
-0.0606258362531662,
-0.031023593619465828,
0.15602178871631622,
0.015131276100873947,
-0.06340095400810242,
0.02946026250720024,
0.0875... | 0.048527 |
# Configure thresholds using Terraform Threshold configurations in [Knowledge Graph](/docs/grafana-cloud/knowledge-graph/) allow you to define custom thresholds for request, resource, and health assertions. These configurations help you set specific limits and conditions for monitoring your services and infrastructure.... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-knowledge-graph/thresholds.md | main | grafana | [
-0.052596259862184525,
0.054409611970186234,
-0.03837740048766136,
0.0167615357786417,
-0.054062504321336746,
-0.10665269196033478,
0.01902858540415764,
-0.0398571640253067,
-0.038608115166425705,
0.14951194822788239,
0.005900099873542786,
-0.13062888383865356,
0.05003068596124649,
0.07252... | 0.083593 |
health assertions. #### Arguments | Name | Type | Required | Description | | --------------------- | -------------- | -------- | ------------------------------------------------------------------------------------------------------------------------ | | `request\_thresholds` | `list(object)` | No | List of request thre... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-knowledge-graph/thresholds.md | main | grafana | [
-0.07257039099931717,
0.0860695019364357,
-0.03330174833536148,
0.026067739352583885,
0.025458447635173798,
-0.07275602221488953,
0.07459142804145813,
0.009641860611736774,
-0.03995174914598465,
0.0005726813105866313,
0.055007416754961014,
-0.12804682552814484,
0.040535274893045425,
0.0357... | 0.135268 |
context when setting thresholds for specific API paths - Use error ratio thresholds to catch service degradation early - Review historical performance data to set realistic threshold values ### Resource threshold best practices - Set resource thresholds based on your infrastructure capacity - Use container-specific thr... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-knowledge-graph/thresholds.md | main | grafana | [
-0.008294315077364445,
0.03794936090707779,
-0.01266486942768097,
-0.003151345532387495,
0.0053194849751889706,
-0.08841057866811752,
-0.009974004700779915,
0.01512159127742052,
-0.05335213616490364,
0.06028183177113533,
-0.027942746877670288,
-0.08824201673269272,
0.028696205466985703,
0.... | 0.163264 |
# Configure the Knowledge Graph stack using Terraform The Knowledge Graph stack resource manages the full onboarding flow for your Grafana Cloud stack. It provisions API tokens, configures datasets based on available metrics, and enables the stack. By default, datasets are auto-configured based on detected metrics. To ... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-knowledge-graph/knowledge-graph-stack.md | main | grafana | [
-0.06959133595228195,
-0.04783337935805321,
-0.07842116057872772,
0.01733175478875637,
-0.08427437394857407,
-0.04465547204017639,
-0.03815607726573944,
-0.07177260518074036,
-0.00937365647405386,
0.11483604460954666,
0.008673871867358685,
-0.08795471489429474,
0.013014862313866615,
0.0166... | 0.065532 |
label mappings and metric filters: ```terraform resource "grafana\_asserts\_stack" "multi\_dataset" { cloud\_access\_policy\_token = grafana\_cloud\_access\_policy\_token.knowledge\_graph.token grafana\_token = grafana\_cloud\_stack\_service\_account\_token.knowledge\_graph.key dataset { type = "kubernetes" filter\_gro... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-knowledge-graph/knowledge-graph-stack.md | main | grafana | [
0.0359770804643631,
0.07110102474689484,
0.006979753728955984,
-0.037365060299634933,
-0.03680701553821564,
-0.027376890182495117,
0.06329809874296188,
-0.07590796798467636,
0.021972233429551125,
0.02927768975496292,
0.0010427474044263363,
-0.16908997297286987,
-0.007966140285134315,
0.003... | 0.060493 |
site\_label = "cluster" env\_label\_values = ["production"] site\_label\_values = ["us-east-1"] } } } ``` ## Best practices Consider the following best practices when configuring the Knowledge Graph stack with Terraform. ### Token management - Create a dedicated Cloud Access Policy for the Knowledge Graph stack with on... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-knowledge-graph/knowledge-graph-stack.md | main | grafana | [
0.03067111410200596,
0.00043854949763044715,
-0.022425437346100807,
0.046490300446748734,
-0.025028638541698456,
-0.03137700632214546,
0.03468979150056839,
-0.044990748167037964,
-0.04761649668216705,
0.08587857335805893,
0.03842589259147644,
-0.10894589871168137,
0.05316481366753578,
0.01... | 0.065988 |
# Configure suppressed assertions using Terraform Suppressed assertions configurations allow you to disable specific alerts or assertions based on label matching in [Knowledge Graph](/docs/grafana-cloud/knowledge-graph/). This is useful for maintenance windows, test environments, or when you want to temporarily suppres... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-knowledge-graph/suppressed-assertions.md | main | grafana | [
-0.0647992193698883,
0.09626418352127075,
0.02379598468542099,
0.06945072114467621,
0.034092746675014496,
-0.09847001731395721,
0.041437920182943344,
-0.1332247257232666,
0.010511270724236965,
0.09336448460817337,
-0.008817707188427448,
-0.0629882663488388,
0.06869186460971832,
0.051105927... | 0.070047 |
= { cluster = "production-cluster-1" maintenance = "cluster\_upgrade" affected\_nodes = "all" estimated\_duration = "2h" } } # Suppress alerts for specific region during network issues resource "grafana\_asserts\_suppressed\_assertions\_config" "regional\_network\_issue" { provider = grafana.asserts name = "RegionalNet... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-knowledge-graph/suppressed-assertions.md | main | grafana | [
-0.03874283283948898,
0.05257860943675041,
-0.01498398557305336,
0.07192658632993698,
0.009674139320850372,
-0.061368055641651154,
-0.037502605468034744,
-0.06112965568900108,
-0.04900582507252693,
0.08245047926902771,
0.0028638304211199284,
-0.0901743695139885,
0.03652461618185043,
0.0228... | 0.146927 |
# Configure notification alerts using Terraform Notification alerts configurations in [Knowledge Graph](/docs/grafana-cloud/knowledge-graph/) allow you to manage how alerts are processed and routed. You can specify match labels to filter alerts, add custom labels, set duration requirements, and control silencing. For i... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-knowledge-graph/notification-alerts.md | main | grafana | [
-0.01565178483724594,
0.05907281115651131,
-0.007775758393108845,
0.03830692172050476,
0.011128447949886322,
-0.07975559681653976,
0.028379885479807854,
-0.08708015829324722,
0.02557699754834175,
0.09590575098991394,
-0.014840122312307358,
-0.11403229087591171,
0.06424180418252945,
0.06868... | 0.080374 |
false } ``` ## Best practices Consider the following best practices when managing notification alerts with Terraform. ### Label management - Use specific and meaningful labels in `match\_labels` to ensure precise alert filtering - Leverage existing label conventions from your monitoring setup - Consider using `asserts\... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-knowledge-graph/notification-alerts.md | main | grafana | [
0.020648516714572906,
0.04154457896947861,
0.0360940657556057,
0.058141078799963,
0.08007979393005371,
-0.06612634658813477,
0.10986099392175674,
-0.09976258873939514,
0.04108230769634247,
0.030873846262693405,
-0.002866113791242242,
-0.09264527261257172,
0.11569347232580185,
0.06705228239... | 0.070968 |
{{< docs/hero-simple key="hero" >}} --- ## Overview Terraform enables you to manage [Grafana Cloud Knowledge Graph](/docs/grafana-cloud/knowledge-graph/) resources using infrastructure as code. With Terraform, you can define, version control, and deploy Knowledge Graph configurations including stack onboarding, alert r... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-knowledge-graph/_index.md | main | grafana | [
-0.030650043860077858,
0.027145730331540108,
-0.05390937626361847,
0.05309051275253296,
-0.029515542089939117,
-0.06399074196815491,
-0.06462617963552475,
-0.02998366951942444,
-0.04512518644332886,
0.14160920679569244,
0.00022456001897808164,
-0.02572515606880188,
0.034542396664619446,
0.... | 0.057939 |
# Configure trace correlation using Terraform Trace configurations in [Knowledge Graph](/docs/grafana-cloud/knowledge-graph/) allow you to define how trace data is queried and correlated with entities. You can specify data sources, entity matching rules, and label mappings for distributed tracing. For information about... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-knowledge-graph/trace-configurations.md | main | grafana | [
-0.041445229202508926,
-0.03421196714043617,
-0.021832361817359924,
0.021355973556637764,
-0.0482063964009285,
-0.05847249552607536,
-0.00022270875342655927,
-0.11657120287418365,
-0.02712981402873993,
0.14393045008182526,
0.007747209165245295,
-0.10065977275371552,
0.025534985587000847,
0... | 0.022009 |
`list(object)` | No | List of match rules for entity properties. Refer to [match block](#match-block) for details. | | `entity\_property\_to\_trace\_label\_mapping` | `map(string)` | No | Mapping of entity properties to trace labels for correlation. | #### Match block Each `match` block supports the following: | Name |... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/terraform/terraform-knowledge-graph/trace-configurations.md | main | grafana | [
-0.0005983732407912612,
0.031049026176333427,
0.012652182020246983,
0.029605405405163765,
-0.015061239711940289,
0.024891365319490433,
0.06681004911661148,
-0.03493570163846016,
-0.026311490684747696,
-0.02566579356789589,
0.013302426785230637,
-0.14963765442371368,
-0.0007029117550700903,
... | 0.031619 |
# Manage Grafana dashboards with GitOps using ArgoCD This guide shows you how to set up a continuous deployment pipeline using ArgoCD to synchronize your Grafana dashboards with a Git repository. You'll use the Grafana Dashboard Custom Resource provided by the Grafana Operator to manage dashboard configurations declara... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/grafana-operator/manage-dashboards-argocd.md | main | grafana | [
-0.05384817346930504,
-0.07316292822360992,
-0.0937369167804718,
-0.01164974458515644,
-0.08297944813966751,
-0.051069650799036026,
-0.05099915713071823,
-0.01820075698196888,
-0.0018912508385255933,
0.13155785202980042,
-0.031220875680446625,
-0.043293919414281845,
0.000859254680108279,
-... | 0.09756 |
configMapRef: name: dashboard-definition key: json ``` ### Create a dashboard from Grafana.com Under the `dashboards` folder, create a file named `dashboard-from-id.yaml`: ```yaml apiVersion: grafana.integreatly.org/v1beta1 kind: GrafanaDashboard metadata: name: node-exporter-latest namespace: '' spec: instanceSelector... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/grafana-operator/manage-dashboards-argocd.md | main | grafana | [
-0.09263315796852112,
-0.10352890193462372,
-0.17342683672904968,
-0.020041756331920624,
-0.030109653249382973,
-0.060778263956308365,
-0.03168606385588646,
-0.01511266827583313,
-0.02868974581360817,
0.09853478521108627,
0.02235635556280613,
-0.045353200286626816,
0.002423108322545886,
-0... | 0.042776 |
# Manage folders, data sources, and dashboards using the Grafana Operator This guide shows you how to manage data sources, folders, and dashboards using the Grafana Operator. You'll create these resources declaratively using Kubernetes custom resources. ## Prerequisites Before you begin, make sure you have the followin... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/grafana-operator/operator-dashboards-folders-datasources.md | main | grafana | [
-0.07383697479963303,
-0.039216380566358566,
-0.0502200648188591,
0.020713256672024727,
-0.05973290652036667,
0.009466046467423439,
-0.025990832597017288,
-0.028723621740937233,
0.07507744431495667,
0.10262590646743774,
-0.018256280571222305,
-0.10277441889047623,
0.043130431324243546,
-0.... | 0.08872 |
new data source is visible in Grafana. In the following image, a data source named `InfluxDB` was created.  - A new dashboard and folder have been created in Grafana. In the following image, a dashboard named `InfluxDB Cloud De... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/grafana-operator/operator-dashboards-folders-datasources.md | main | grafana | [
-0.08953581750392914,
-0.015504405833780766,
-0.026346398517489433,
0.010293405503034592,
-0.029528804123401642,
-0.06020732223987579,
-0.017650572583079338,
-0.06840968877077103,
0.06999208778142929,
0.09180484712123871,
-0.011072943918406963,
-0.09512318670749664,
0.043891098350286484,
-... | 0.069097 |
# Grafana Operator The [Grafana Operator](https://grafana.github.io/grafana-operator/) is a Kubernetes operator built to help you manage your Grafana instances and its resources in a Kubernetes environment. The Grafana Operator automatically syncs Kubernetes custom resources and actual resources in your Grafana instanc... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/grafana-operator/_index.md | main | grafana | [
-0.02203180640935898,
-0.010176580399274826,
-0.053454168140888214,
-0.0036755315959453583,
-0.01256084255874157,
-0.01689247600734234,
-0.05812786519527435,
-0.03147328272461891,
0.03934498131275177,
0.07278633117675781,
0.0030052701476961374,
-0.07628335058689117,
-0.0023936405777931213,
... | 0.130535 |
# Grafana Ansible collection The [Grafana Ansible collection](https://docs.ansible.com/ansible/latest/collections/grafana/grafana/) provides configuration management resources for Grafana. You can use it to manage: - Grafana Cloud stacks - Dashboards - Data sources - Folders - Alerting contact points - Notification pol... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/ansible/_index.md | main | grafana | [
-0.08651772886514664,
-0.03306632116436958,
-0.0985298603773117,
0.03191579505801201,
-0.041746608912944794,
-0.06372494995594025,
-0.057494524866342545,
-0.02983282506465912,
0.044348202645778656,
0.10476836562156677,
-0.016663827002048492,
-0.0456312820315361,
0.029836302623152733,
-0.00... | 0.05053 |
# Create and manage your Grafana Cloud stack using Ansible This guide shows you how to create a Grafana Cloud stack and add a data source, dashboard, and folder using the Ansible Collection for Grafana. You'll manage your Grafana infrastructure through Ansible playbooks. ## Before you begin Before you begin, make sure ... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/ansible/ansible-cloud-stack/index.md | main | grafana | [
-0.07983671873807907,
-0.049000710248947144,
-0.06735071539878845,
-0.0029598441906273365,
-0.08903022110462189,
-0.02502404898405075,
-0.07626902312040329,
-0.004806757904589176,
0.04253659397363663,
0.12222348153591156,
-0.015771178528666496,
-0.06366990506649017,
0.019533870741724968,
-... | 0.016903 |
using the [Folder module](https://docs.ansible.com/ansible/latest/collections/grafana/grafana/folder\_module.html#ansible-collections-grafana-grafana-folder-module). Create a file named `folder.yml`: ```yaml - name: Add/Update Folders connection: local hosts: localhost vars: grafana\_url: 'https://.grafana.net' grafana... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/infrastructure-as-code/ansible/ansible-cloud-stack/index.md | main | grafana | [
-0.020628202706575394,
-0.008806874044239521,
-0.033053696155548096,
0.03776072338223457,
-0.053627315908670425,
-0.03524874895811081,
-0.05419350042939186,
-0.011628944426774979,
0.055353179574012756,
0.10484349727630615,
0.029876654967665672,
-0.023937130346894264,
-0.03708652779459953,
... | 0.030962 |
{{< docs/hero-simple key="hero" >}} --- ## Overview Grafana provides a suite of tools for \*\*Observability as code\*\* to help you manage your Grafana resources programmatically and at scale. This approach lets you define dashboards, data sources, and other configurations in code, enabling version control, automated t... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/_index.md | main | grafana | [
-0.130646213889122,
-0.0011954046785831451,
-0.0923963189125061,
-0.005256006959825754,
-0.029029469937086105,
-0.08865073323249817,
-0.12353996932506561,
0.027408694848418236,
-0.04859911650419235,
0.09101714938879013,
-0.024329258129000664,
-0.0006502687465399504,
0.04134305939078331,
0.... | 0.111994 |
# Set up file provisioning {{< admonition type="note" >}} On-prem file provisioning is available in Grafana v12 and later for open source and Enterprise editions. It's \*\*not available in Grafana Cloud\*\*. This new file provisioning feature is only available for dashboards and doesn't replace classic provisioning for... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/provision-resources/file-path-setup.md | main | grafana | [
-0.06712356954813004,
-0.02912510372698307,
-0.07232177257537842,
-0.043162524700164795,
0.0010636269580572844,
-0.017295630648732185,
-0.08929493278265,
0.015957895666360855,
-0.017590651288628578,
0.0864153504371643,
-0.013044249266386032,
-0.03677334263920784,
0.028353629633784294,
0.01... | -0.019199 |
path to the `grafana` folder where your dashboards are stored in the repository. To start setting up file-based provisioning: 1. Log in to your Grafana server with an account that has the Grafana Admin flag set. 1. Select \*\*Administration\*\* in the left-side menu and then \*\*Provisioning\*\*. 1. Select [Configure f... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/provision-resources/file-path-setup.md | main | grafana | [
-0.02987327240407467,
-0.04419859126210213,
-0.1290336549282074,
-0.024844050407409668,
-0.029943285509943962,
-0.05080171301960945,
-0.07385959476232529,
0.00008089841867331415,
-0.026924340054392815,
0.08509789407253265,
0.013248594477772713,
-0.03490510955452919,
-0.0048532504588365555,
... | 0.001703 |
# On-prem file provisioning {{< admonition type="note" >}} On-prem file provisioning is available in Grafana v12 and later for open source and Enterprise editions. It's \*\*not available in Grafana Cloud\*\*. This new file provisioning feature is only available for dashboards and doesn't replace classic provisioning fo... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/provision-resources/_index.md | main | grafana | [
-0.0657123327255249,
-0.007226361893117428,
-0.0928550511598587,
0.007183097302913666,
-0.022331073880195618,
-0.02788134105503559,
-0.07215703278779984,
0.03205868974328041,
-0.0019212983315810561,
0.09495759755373001,
0.006013067904859781,
-0.01038871705532074,
-0.0025975187309086323,
0.... | 0.047512 |
# Introduction to the Grafana CLI Grafana command-line tools are designed to simplify interaction with Grafana instances. You can authenticate, manage multiple environments, and perform administrative tasks through the Grafana REST API, all from the terminal. Whether you're automating workflows in CI/CD pipelines or sw... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/grafana-cli/_index.md | main | grafana | [
-0.10841011255979538,
-0.00047093754983507097,
-0.1147025004029274,
0.02109125256538391,
-0.08502639830112457,
-0.09870308637619019,
-0.022041773423552513,
-0.03564116731286049,
-0.027023963630199432,
0.006748146843165159,
-0.05588759481906891,
-0.08719313144683838,
0.009310008026659489,
0... | 0.116272 |
# Overview of the `gcx` CLI {{< admonition type="caution" >}} The Grafana CLI `gcx` is available in [public preview](https://grafana.com/docs/release-life-cycle/) for Grafana Cloud and Grafana OSS/Enterprise v12 or later. Older Grafana versions are not supported. \*\*`gcx` is under development.\*\* Documentation and su... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/grafana-cli/gcx/_index.md | main | grafana | [
-0.17038558423519135,
-0.07860726863145828,
-0.04868371784687042,
-0.03021889179944992,
-0.007966128177940845,
-0.08326254040002823,
0.014461718499660492,
-0.048967618495225906,
-0.03719863295555115,
0.03961344435811043,
-0.003934138920158148,
-0.044915951788425446,
0.021587664261460304,
-... | 0.137364 |
# Manage resources with `grafanactl` {{< admonition type="caution" >}} `grafanactl` is being deprecated, and we're bringing all our learning and experience into the new, improved CLI tool [`gcx`](https://grafana.com/docs/grafana//as-code/observability-as-code/grafana-cli/gcx). The `grafanactl` repository in GitHub will... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/grafana-cli/grafanactl/grafanacli-workflows.md | main | grafana | [
-0.14250746369361877,
-0.031410280615091324,
-0.06638631224632263,
-0.010465382598340511,
-0.028010273352265358,
-0.11961116641759872,
-0.014605993404984474,
-0.047313883900642395,
-0.0847223699092865,
0.0073998672887682915,
-0.019140807911753654,
-0.09364934265613556,
0.04696711525321007,
... | 0.015896 |
from your terminal. These commands allow you to browse, inspect, update, and delete resources without using the Grafana UI. This approach is useful for advanced users who want to manage resources more efficiently or integrate Grafana operations into automated workflows. ### Find and delete dashboards using invalid data... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/grafana-cli/grafanactl/grafanacli-workflows.md | main | grafana | [
-0.10691922903060913,
0.05624113976955414,
-0.07783395051956177,
0.002403594320639968,
0.00046503753401339054,
-0.09484869986772537,
-0.011938026174902916,
-0.06040741875767708,
0.041438646614551544,
0.04305548220872879,
-0.03343202546238899,
-0.05658495053648949,
0.05101420357823372,
0.01... | 0.021609 |
# Install and set up the `grafanactl` CLI {{< admonition type="caution" >}} `grafanactl` is being deprecated, and we're bringing all our learning and experience into the new, improved CLI tool [`gcx`](https://grafana.com/docs/grafana//as-code/observability-as-code/grafana-cli/gcx). The `grafanactl` repository in GitHub... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/grafana-cli/grafanactl/_index.md | main | grafana | [
-0.1560366004705429,
-0.05648425221443176,
-0.0646977573633194,
-0.03403260558843613,
-0.06950970739126205,
-0.10945375263690948,
-0.028066473081707954,
-0.03538757562637329,
-0.05016516521573067,
0.03058658167719841,
-0.02048102393746376,
-0.08684567362070084,
0.03251258283853531,
0.05637... | -0.005247 |
`$XDG\_CONFIG\_HOME` is set: `$XDG\_CONFIG\_HOME/grafanactl/config.yaml` 3. If `$HOME` is set: `$HOME/.config/grafanactl/config.yaml` 4. If `$XDG\_CONFIG\_DIRS` is set: `$XDG\_CONFIG\_DIRS/grafanactl/config.yaml` {{< admonition type="note" >}} Use `grafanactl config check` to display the configuration file currently in... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/grafana-cli/grafanactl/_index.md | main | grafana | [
-0.04415896162390709,
0.010823424905538559,
-0.040424808859825134,
-0.028402768075466156,
-0.02329368330538273,
-0.0570913664996624,
0.01502649113535881,
-0.0368945375084877,
-0.052036773413419724,
0.007335996255278587,
0.04448431357741356,
-0.05679623410105705,
-0.0012526948703452945,
0.0... | -0.051361 |
# Foundation SDK key concepts The Grafana Foundation SDK is built around a few core concepts that make your dashboards structured, reusable, and strongly typed. ## Builders The SDK follows a builder pattern, which lets you compose dashboards step-by-step using chained method calls. Almost every piece of the dashboard, ... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/foundation-sdk/foundation-sdk-key-concepts.md | main | grafana | [
-0.12084884941577911,
-0.002645844826474786,
-0.07401777058839798,
0.020464520901441574,
-0.02098490111529827,
-0.0776921957731247,
-0.059862349182367325,
0.032166555523872375,
-0.036944679915905,
0.05033637210726738,
-0.04757251590490341,
-0.07893997430801392,
0.048670388758182526,
-0.038... | 0.086496 |
# Get started with the Grafana Foundation SDK The Grafana Foundation SDK is a set of tools, types, and libraries that let you define Grafana dashboards and resources using strongly typed code. By writing your dashboards as code, you can: - \*\*Leverage strong typing:\*\* Catch errors at compile time, ensuring more reli... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/foundation-sdk/_index.md | main | grafana | [
-0.06901542097330093,
-0.016858652234077454,
-0.0707629919052124,
-0.03332890570163727,
-0.011659589596092701,
-0.06989781558513641,
-0.04778863862156868,
0.08981338888406754,
-0.04556501284241676,
0.038297511637210846,
-0.04086791351437569,
-0.05408933013677597,
0.03116396814584732,
0.021... | 0.100361 |
Time Series"). Datasource(testdataRef). WithTarget( testdata.NewDataqueryBuilder(). ScenarioId("random\_walk"), ), ) // Build the dashboard - errors in configuration will be thrown here dashboard, err := builder.Build() if err != nil { log.Fatalf("failed to build dashboard: %v", err) } // Output the generated dashboard... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/foundation-sdk/_index.md | main | grafana | [
-0.11230076849460602,
0.0388323999941349,
-0.08459573984146118,
-0.011916104704141617,
-0.01732342690229416,
-0.0716499388217926,
-0.03221859037876129,
0.06783274561166763,
-0.038045734167099,
0.029135242104530334,
-0.021888332441449165,
-0.11753997206687927,
0.01425880379974842,
0.0380907... | 0.023498 |
# Automate dashboard provisioning with CI/CD Managing Grafana dashboards manually can be inefficient and error-prone. With the Grafana Foundation SDK you can define dashboards using strongly typed code, commit them to version control systems, and automatically deploy them using GitHub Actions. ## Why automate? Automati... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/foundation-sdk/dashboard-automation.md | main | grafana | [
-0.10969338566064835,
-0.03846545144915581,
-0.10238945484161377,
-0.04532754421234131,
0.015812793746590614,
-0.07111860066652298,
-0.09999338537454605,
0.01817619986832142,
0.006663522683084011,
0.06872601807117462,
-0.0238697100430727,
-0.048566486686468124,
0.028416000306606293,
0.0165... | 0.050642 |
dashboard already exists within our Grafana instance - Update it if it does, create it if it doesnβt {{< admonition type="note" >}} The following GitHub Action configuration assumes you are using a Go-based dashboard generator. If you're using one of the other languages that the Foundation SDK supports, modify the \*\*... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/foundation-sdk/dashboard-automation.md | main | grafana | [
-0.07942239195108414,
-0.062461886554956436,
-0.08869008719921112,
-0.05666849762201309,
-0.015980558469891548,
-0.06578880548477173,
-0.044398222118616104,
-0.01626710034906864,
0.021408379077911377,
0.03108375333249569,
-0.007067665457725525,
-0.0478900708258152,
-0.0035745021887123585,
... | 0.049714 |
# Git Sync key concepts {{< admonition type="note" >}} \*\*Git Sync is now GA for Grafana Cloud, OSS and Enterprise.\*\* Refer to [Usage and performance limitations](https://grafana.com/docs/grafana//as-code/observability-as-code/git-sync/usage-limits) to understand usage limits for the different tiers. [Contact Grafan... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/key-concepts.md | main | grafana | [
-0.13314956426620483,
-0.05911329388618469,
-0.06592459231615067,
0.014941612258553505,
-0.09105896204710007,
-0.10234607011079788,
-0.00827035866677761,
-0.05161755532026291,
-0.028776317834854126,
0.03209645673632622,
0.01641681417822838,
-0.014237374067306519,
0.01960749737918377,
-0.03... | 0.041156 |
behave? Git Sync is bidirectional, and syncs a repository resource with your Grafana instance. You can modify provisioned resources both from the Grafana UI or from the synced GitHub repository, and changes will be reflected in both places: 1. Grafana monitors the specified Git location (repository, branch, and path). ... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/key-concepts.md | main | grafana | [
-0.13225822150707245,
-0.0587674118578434,
-0.0685199648141861,
0.010555720888078213,
-0.010782642289996147,
-0.07520046085119247,
-0.05665159970521927,
-0.08444397151470184,
0.038880277425050735,
0.039243921637535095,
0.013841051608324051,
0.0021832971833646297,
0.018527047708630562,
-0.0... | 0.065216 |
# Work with provisioned dashboards in Git Sync {{< admonition type="note" >}} \*\*Git Sync is now GA for Grafana Cloud, OSS and Enterprise.\*\* Refer to [Usage and performance limitations](https://grafana.com/docs/grafana//as-code/observability-as-code/git-sync/usage-limits) to understand usage limits for the different... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/provisioned-dashboards.md | main | grafana | [
-0.11297255754470825,
-0.012950207106769085,
-0.09601791203022003,
0.020267337560653687,
-0.03726813569664955,
-0.07446201890707016,
-0.04958450049161911,
0.011725358664989471,
0.007299073040485382,
0.05343617871403694,
0.004166100639849901,
-0.015273134224116802,
0.030567336827516556,
0.0... | 0.05178 |
desired changes. 1. Click \*\*Save dashboard\*\*. 1. On the \*\*Provisioned dashboard\*\* panel, choose the options you want to use: - \*\*Update default refresh value\*\*: Check this box to make the current refresh the new default - \*\*Update default variable values\*\*: Check this box to make the current values the ... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/provisioned-dashboards.md | main | grafana | [
-0.009696165099740028,
-0.10841444879770279,
-0.012222526594996452,
0.022016659379005432,
-0.049805205315351486,
0.0036706048995256424,
-0.034409042447805405,
0.038294143974781036,
0.053013868629932404,
0.09661775827407837,
-0.04419515281915665,
-0.05189202353358269,
0.005100056529045105,
... | 0.003346 |
# Configure Git repository protection {{< admonition type="note" >}} \*\*Git Sync is now GA for Grafana Cloud, OSS and Enterprise.\*\* Refer to [Usage and performance limitations](https://grafana.com/docs/grafana//as-code/observability-as-code/git-sync/usage-limits) to understand usage limits for the different tiers. [... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/permissions-git.md | main | grafana | [
-0.1281908005475998,
0.014521329663693905,
-0.06778530776500702,
0.003938695881515741,
0.0014202984748408198,
-0.051416244357824326,
0.01813874952495098,
-0.02740541659295559,
0.012524682097136974,
0.06148587167263031,
-0.005034315399825573,
0.023302337154746056,
0.05364295467734337,
-0.02... | 0.05646 |
source code stored in your repository. This includes dashboard JSON files, folder structure, and any other files in the repository. \*\*Public repositories\*\*: Anyone can view the repository contents, including dashboard configurations and any data or queries they contain. Only use public repositories if your dashboar... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/permissions-git.md | main | grafana | [
-0.13647326827049255,
-0.02661561220884323,
-0.12789608538150787,
-0.023175589740276337,
-0.034413643181324005,
-0.03657069057226181,
-0.021249933168292046,
-0.011258033104240894,
0.039822567254304886,
0.07238294184207916,
0.01738911308348179,
-0.02299879677593708,
0.03467908501625061,
-0.... | 0.10791 |
dashboard changes are reviewed by the teams responsible for those dashboards, based on folder path or file patterns. Refer to your Git provider's documentation for instructions on configuring `CODEOWNERS` files. ## Troubleshooting ### Git Sync fails with "403 Forbidden" or "Unauthorized" \*\*Cause\*\*: The authenticati... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/permissions-git.md | main | grafana | [
-0.038975443691015244,
-0.05671212822198868,
-0.04118488356471062,
-0.07114335149526596,
0.031687162816524506,
-0.06639958173036575,
-0.045761480927467346,
0.0006165803060866892,
0.06043620407581329,
0.07803604751825333,
0.018090683966875076,
-0.047065939754247665,
0.06303046643733978,
0.0... | -0.019731 |
# Work with provisioned repositories in Git Sync {{< admonition type="note" >}} \*\*Git Sync is now GA for Grafana Cloud, OSS and Enterprise.\*\* Refer to [Usage and performance limitations](https://grafana.com/docs/grafana//as-code/observability-as-code/git-sync/usage-limits) to understand usage limits for the differe... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/use-git-sync.md | main | grafana | [
-0.11150240153074265,
-0.03883618488907814,
-0.06205189228057861,
0.03815079852938652,
-0.04611024633049965,
-0.09726206958293915,
-0.031247368082404137,
-0.058402035385370255,
-0.03019971400499344,
0.06755459308624268,
0.00005918501483392902,
-0.0187555979937315,
0.021014735102653503,
-0.... | 0.046812 |
| Editor | | Viewer | Viewer | Refer to [Git Sync permissions](https://grafana.com/docs/grafana//as-code/observability-as-code/git-sync/permissions-grafana) to understand and set up permissions in Git Sync. ### Modify folder permissions {{< admonition type="note" >}} To modify permissions, each provisioned folder must ... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/use-git-sync.md | main | grafana | [
-0.07069367915391922,
-0.04190457612276077,
-0.13111013174057007,
0.04924185574054718,
0.0027726900298148394,
-0.050700824707746506,
-0.03151523694396019,
-0.029360031709074974,
0.0065624285489320755,
0.01149991899728775,
0.05807236209511757,
-0.006168085616081953,
0.010246732272207737,
0.... | 0.027931 |
# Git Sync permissions and access control {{< admonition type="note" >}} \*\*Git Sync is now GA for Grafana Cloud, OSS and Enterprise.\*\* Refer to [Usage and performance limitations](https://grafana.com/docs/grafana//as-code/observability-as-code/git-sync/usage-limits) to understand usage limits for the different tier... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/permissions-grafana.md | main | grafana | [
-0.10751429945230484,
-0.014562882483005524,
-0.06428159773349762,
0.03666968643665314,
-0.0599992461502552,
-0.095645472407341,
0.009240388870239258,
-0.04947664961218834,
-0.018552793189883232,
0.04967435449361801,
0.02621304802596569,
-0.013667745515704155,
0.021931972354650497,
-0.0080... | 0.022597 |
Editor or Admin\*\*: Edit specific dashboards; changes sync to Git (even without folder edit access) - \*\*Dashboard Viewer\*\*: View specific dashboards only Editors don't need access to the Provisioning admin UI or repository configuration. Refer to [Configure folder and dashboard permissions](#configure-folder-and-d... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/permissions-grafana.md | main | grafana | [
-0.048503171652555466,
-0.0410894975066185,
-0.11910057067871094,
0.04539674520492554,
0.005879468284547329,
-0.005092455539852381,
0.02426062896847725,
-0.020616745576262474,
0.03220917657017708,
0.05314536765217781,
0.008003040216863155,
-0.017582060769200325,
0.054213471710681915,
0.048... | 0.08703 |
provider connections View connection details Update connection settings Delete connections | | \*\*Jobs\*\* | `provisioning.jobs:create` `provisioning.jobs:read` `provisioning.jobs:write` `provisioning.jobs:delete` | Trigger manual syncs View sync jobs Modify sync job settings Cancel/delete sync jobs | | \*\*History & ... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/permissions-grafana.md | main | grafana | [
-0.03435621038079262,
-0.05773621052503586,
-0.0754910558462143,
0.05254657194018364,
-0.05321333929896355,
-0.030601851642131805,
0.043861664831638336,
-0.11280913650989532,
-0.034353967756032944,
0.04254373535513878,
0.028889307752251625,
0.02315836027264595,
0.01110831368714571,
0.00554... | 0.096958 |
Git provider. \*\*Solution\*\*: Enable branch protection rules at your Git provider to enforce pull request workflows or in your Grafana repository settings. Refer to your Git provider's documentation for instructions on configuring branch protection. | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/permissions-grafana.md | main | grafana | [
-0.12661872804164886,
-0.002781461225822568,
-0.01420782320201397,
-0.03631572052836418,
-0.0412307009100914,
-0.07007654011249542,
-0.0018167588859796524,
-0.038271691650152206,
0.02896449714899063,
0.09560656547546387,
0.0009758200612850487,
-0.0032173320651054382,
-0.011175929568707943,
... | 0.102418 |
# Export non-provisioned resources from Grafana {{< admonition type="note" >}} \*\*Git Sync is now GA for Grafana Cloud, OSS and Enterprise.\*\* Refer to [Usage and performance limitations](https://grafana.com/docs/grafana//as-code/observability-as-code/git-sync/usage-limits) to understand usage limits for the differen... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/export-resources.md | main | grafana | [
-0.1315838098526001,
-0.03866764158010483,
-0.08073686063289642,
0.039498794823884964,
-0.0071807680651545525,
-0.08841763436794281,
-0.03610699623823166,
-0.020993297919631004,
0.001139985048212111,
0.05533461645245552,
0.002420316683128476,
-0.04381473362445831,
0.027566418051719666,
0.0... | 0.028567 |
the exported JSON - `spec`: Wraps your original dashboard JSON ## Work with Git-managed dashboards After you've saved a dashboard in Git, it'll be synchronized automatically, and you'll be able to work with it as any other provisioned resource. Refer to [Work with provisioned dashboards](https://grafana.com/docs/grafan... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/export-resources.md | main | grafana | [
-0.12461650371551514,
-0.0036105606704950333,
-0.11262290924787521,
0.03515983745455742,
-0.016814572736620903,
-0.055712807923555374,
-0.05703330039978027,
-0.0025010155513882637,
-0.028193050995469093,
0.055703695863485336,
0.005680570844560862,
-0.02341650053858757,
0.032630082219839096,
... | 0.023159 |
# Usage and performance limitations {{< admonition type="note" >}} \*\*Git Sync is now GA for Grafana Cloud, OSS and Enterprise.\*\* [Contact Grafana](https://grafana.com/help/) for support or to report any issues you encounter and help us improve this feature. {{< /admonition >}} ## Performance considerations When Git... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/usage-limits.md | main | grafana | [
-0.08363750576972961,
-0.06704356521368027,
-0.043589409440755844,
0.039824794977903366,
-0.03313574194908142,
-0.09685638546943665,
-0.03218074142932892,
-0.03366885706782341,
0.0065452526323497295,
0.04834315553307533,
0.012477115727961063,
-0.002414700575172901,
0.026220638304948807,
-0... | 0.016339 |
that feel native: automated pull request comments with dashboard previews, instant webhook-based sync, or direct navigation from Grafana to source files in your provider's UI. The GitHub enhanced integration is the most feature-complete experience today. It enables richer pull request workflows, deeper linking between ... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/usage-limits.md | main | grafana | [
-0.17453454434871674,
-0.06347128003835678,
-0.06298032402992249,
0.012475729919970036,
-0.005413516890257597,
-0.07979462295770645,
-0.044133156538009644,
-0.006333295255899429,
0.04290853813290596,
0.07653656601905823,
-0.0173969604074955,
-0.022824754938483238,
0.018976008519530296,
-0.... | 0.111022 |
# Introduction to Git Sync {{< admonition type="note" >}} \*\*Git Sync is now GA for Grafana Cloud, OSS and Enterprise.\*\* Refer to [Usage and performance limitations](https://grafana.com/docs/grafana//as-code/observability-as-code/git-sync/usage-limits) to understand usage limits for the different tiers. [Contact Gra... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/_index.md | main | grafana | [
-0.1414262056350708,
-0.036313097923994064,
-0.0721501037478447,
0.016004381701350212,
-0.03947369381785393,
-0.0814138874411583,
-0.040700219571590424,
0.00955851748585701,
0.025423359125852585,
0.04796869307756424,
-0.0003810416383203119,
-0.0006676858756691217,
0.05574537441134453,
-0.0... | 0.082173 |
into the main branch. This process not only improves quality control but also ensures that dashboards adhere to best practices and organizational standards. Additionally, GitHubβs built-in discussion and review tools facilitate effective collaboration, making it easier to address feedback before changes go live. ### Mu... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/_index.md | main | grafana | [
-0.08713198453187943,
-0.038762595504522324,
-0.03649621084332466,
-0.02184159867465496,
0.021863162517547607,
-0.08850684762001038,
-0.0835951417684555,
-0.027063168585300446,
0.058869559317827225,
0.037967562675476074,
-0.04289350286126137,
0.03859321027994156,
0.04262527450919151,
0.006... | 0.14831 |
# Git Sync for development and production environments Use separate Grafana instances for development and production. Each syncs with different Git locations to test dashboards before production. ## Use it for - \*\*Staged deployments\*\*: You need to test dashboard changes before production deployment. - \*\*Change co... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/scenarios/dev-prod.md | main | grafana | [
-0.1060665100812912,
-0.04734475910663605,
-0.05530490353703499,
-0.04114926606416702,
-0.01877460442483425,
-0.09171686321496964,
-0.08676515519618988,
-0.02282685786485672,
0.00013068024418316782,
0.08413003385066986,
0.04382075369358063,
-0.06931035965681076,
0.04833412170410156,
-0.001... | 0.116658 |
# Git Sync with regional replication Deploy multiple Grafana instances across regions. Synchronize them with the same Git location to ensure consistent dashboards everywhere. ## Use it for - \*\*Geographic distribution\*\*: You deploy Grafana close to users in different regions. - \*\*Latency reduction\*\*: Users need ... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/scenarios/multi-region.md | main | grafana | [
-0.0465073436498642,
-0.04240347072482109,
-0.050886645913124084,
-0.05427713319659233,
-0.051203757524490356,
-0.1094973087310791,
-0.0630374476313591,
-0.06613816320896149,
-0.0039045135490596294,
0.03837500885128975,
0.009374608285725117,
-0.05850355699658394,
0.03289174288511276,
0.024... | 0.082982 |
# Git Sync in a Grafana instance shared by multiple teams Use a single Grafana instance with multiple Repository resources, one per team. Each team manages its own dashboards while sharing Grafana. ## Use it for - \*\*Team autonomy\*\*: Different teams manage their own dashboards independently. - \*\*Organizational str... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/scenarios/multi-team.md | main | grafana | [
-0.1210998073220253,
-0.02794530615210533,
-0.1045038104057312,
-0.00802246667444706,
-0.039016302675008774,
-0.12056412547826767,
-0.05282405763864517,
-0.040917862206697464,
0.03437703475356102,
0.048963941633701324,
0.004591612610965967,
-0.06816593557596207,
0.06316887587308884,
0.0389... | 0.183483 |
`grafana/` This allows teams to use Git branch workflows for collaboration while sharing the same repository. | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/scenarios/multi-team.md | main | grafana | [
-0.10446056723594666,
-0.05290476605296135,
-0.12037079781293869,
-0.010784633457660675,
-0.03895167261362076,
-0.052165091037750244,
-0.049468930810689926,
-0.02034161612391472,
0.06619377434253693,
0.006196791771799326,
-0.014211240224540234,
0.04378100112080574,
-0.008000867441296577,
0... | 0.214201 |
# Single instance Git Sync Use a single Grafana instance synchronized with a Git repository. This is the foundation for Git Sync and helps you understand bidirectional synchronization. ## Use it for - \*\*Getting started\*\*: You want to learn how Git Sync works before implementing complex scenarios. - \*\*Personal pro... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/scenarios/single-instance.md | main | grafana | [
-0.10064725577831268,
-0.08371405303478241,
-0.03685501962900162,
-0.013637322001159191,
-0.07184761762619019,
-0.11173379421234131,
-0.07628294825553894,
-0.009509672410786152,
0.02797539532184601,
0.04236894100904465,
-0.021731851622462273,
-0.09968752413988113,
0.04140879213809967,
-0.0... | 0.084672 |
# Git Sync deployment scenarios {{< admonition type="note" >}} \*\*Git Sync is now GA for Grafana Cloud, OSS and Enterprise.\*\* Refer to [Usage and performance limitations](https://grafana.com/docs/grafana//as-code/observability-as-code/git-sync/usage-limits) to understand usage limits for the different tiers. [Contac... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/scenarios/_index.md | main | grafana | [
-0.11572533845901489,
-0.0420234352350235,
-0.03938787430524826,
0.008165867067873478,
-0.07011446356773376,
-0.11939698457717896,
-0.04992792755365372,
-0.057246558368206024,
-0.02533181942999363,
0.029314711689949036,
0.004229786340147257,
-0.030522050336003304,
0.006709973327815533,
-0.... | 0.058316 |
# Git Sync for high availability environments ## Primaryβreplica scenario Use a primary Grafana instance and one or more replicas synchronized with the same Git location to enable failover. ### Use it for - \*\*Automatic failover\*\*: You need service continuity when the primary instance fails. - \*\*High availability\... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/scenarios/high-availability.md | main | grafana | [
-0.11743593215942383,
-0.07140076905488968,
-0.053518131375312805,
-0.007089555729180574,
-0.06890743225812912,
-0.06612887978553772,
-0.04483632743358612,
-0.009883920662105083,
-0.013861062936484814,
0.05354668200016022,
-0.025536905974149704,
-0.035863667726516724,
0.031222930178046227,
... | 0.148895 |
β ββββββββββββββββββββββββ ``` ### Repository structure \*\*In Git:\*\* ``` your-org/grafana-manifests βββ shared/ βββ dashboard-metrics.json βββ dashboard-alerts.json βββ dashboard-logs.json ``` \*\*In Grafana Dashboards view (all instances):\*\* ``` Dashboards βββ π grafana-manifests/ βββ Metrics Dashboard βββ Alert... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/scenarios/high-availability.md | main | grafana | [
-0.1388765573501587,
-0.0018179873004555702,
-0.09579777717590332,
-0.008636955171823502,
-0.04619336873292923,
-0.10823435336351395,
-0.0438067689538002,
-0.008928008377552032,
0.04260249808430672,
0.035089656710624695,
-0.02620697021484375,
-0.06996938586235046,
0.049029286950826645,
0.0... | 0.095022 |
# Set up Git Sync as code {{< admonition type="note" >}} \*\*Git Sync is now GA for Grafana Cloud, OSS and Enterprise.\*\* Refer to [Usage and performance limitations](https://grafana.com/docs/grafana//as-code/observability-as-code/git-sync/usage-limits) to understand usage limits for the different tiers. [Contact Graf... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/git-sync-setup/set-up-code.md | main | grafana | [
-0.1257535219192505,
-0.05498407781124115,
-0.07237432897090912,
0.01280198898166418,
-0.08375953882932663,
-0.11475162953138351,
-0.05318344011902809,
-0.033504411578178406,
0.003264807863160968,
0.056939203292131424,
0.0021038525737822056,
-0.03154211491346359,
0.012961807660758495,
-0.0... | 0.043982 |
Git Sync. {{< /admonition >}} ### Configuration parameters The following configuration parameters are available: | Field | Description | | --------------------------------------- | ----------------------------------------------------------- | | `metadata.name` | Unique identifier for this repository resource | | `spec.... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/git-sync-setup/set-up-code.md | main | grafana | [
-0.0812501460313797,
-0.052427783608436584,
-0.10547540336847305,
0.055976204574108124,
-0.04528604447841644,
-0.04436010494828224,
-0.0025805141776800156,
0.03388582915067673,
-0.02228223718702793,
0.026985345408320427,
0.01531535480171442,
-0.08295249938964844,
0.050523653626441956,
-0.0... | 0.019538 |
# Set up Git Sync with Terraform {{< admonition type="note" >}} \*\*Git Sync is now GA for Grafana Cloud, OSS and Enterprise.\*\* Refer to [Usage and performance limitations](https://grafana.com/docs/grafana//as-code/observability-as-code/git-sync/usage-limits) to understand usage limits for the different tiers. [Conta... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/git-sync-setup/set-up-terraform.md | main | grafana | [
-0.08403944969177246,
-0.032036688178777695,
-0.04785215109586716,
0.0016755405813455582,
-0.07796581089496613,
-0.11664482206106186,
-0.07233955711126328,
-0.05920456722378731,
-0.010326324962079525,
0.0867934301495552,
-0.003970122430473566,
-0.05422477424144745,
0.02290084771811962,
-0.... | 0.025521 |
# Set up instantaneous pulling and dashboard previews in Pull Requests {{< admonition type="note" >}} \*\*Git Sync is now GA for Grafana Cloud, OSS and Enterprise.\*\* Refer to [Usage and performance limitations](https://grafana.com/docs/grafana//as-code/observability-as-code/git-sync/usage-limits) to understand usage ... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/git-sync-setup/set-up-extend.md | main | grafana | [
-0.13256175816059113,
0.002257315209135413,
-0.05110115557909012,
0.04318218678236008,
-0.029385490342974663,
-0.06837688386440277,
-0.06534884124994278,
-0.018395502120256424,
-0.010824653320014477,
0.043789856135845184,
-0.016940033063292503,
-0.032404541969299316,
0.03931302949786186,
-... | 0.004652 |
the following documents: - [Set up Git Sync](https://grafana.com/docs/grafana//as-code/observability-as-code/git-sync/git-sync-setup/) - [Export resources](https://grafana.com/docs/grafana//as-code/observability-as-code/git-sync/export-resources/) - [Work with provisioned repositories](https://grafana.com/docs/grafana/... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/git-sync-setup/set-up-extend.md | main | grafana | [
-0.117892786860466,
-0.0458136647939682,
-0.12413688749074936,
0.04733869433403015,
-0.030433572828769684,
-0.05867166817188263,
-0.06866883486509323,
-0.041966985911130905,
-0.03688540682196617,
0.035835035145282745,
0.03627624735236168,
-0.04453997313976288,
0.03711874783039093,
0.015071... | 0.04582 |
# Before you begin {{< admonition type="note" >}} \*\*Git Sync is now GA for Grafana Cloud, OSS and Enterprise.\*\* Refer to [Usage and performance limitations](https://grafana.com/docs/grafana//as-code/observability-as-code/git-sync/usage-limits) to understand usage limits for the different tiers. [Contact Grafana](ht... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/git-sync-setup/set-up-before.md | main | grafana | [
-0.13459090888500214,
-0.04371975362300873,
-0.040207114070653915,
0.031390219926834106,
-0.0687311664223671,
-0.10929359495639801,
-0.052157506346702576,
-0.040446434170007706,
-0.0028944758232682943,
0.04938003793358803,
0.004571946337819099,
-0.015070033259689808,
0.009801344946026802,
... | 0.012269 |
app page: 1. Copy the \*\*AppID\*\* from the \*\*About\*\* section 1. Select the \*\*Generate private key\*\* from the banner or scroll down to to the \*\*Private Keys\*\* section to generate a key 1. A PEM file containing your private key will be downloaded to your computer Finally, install the app: 1. At the top left... | https://github.com/grafana/grafana/blob/main/docs/sources/as-code/observability-as-code/git-sync/git-sync-setup/set-up-before.md | main | grafana | [
-0.08053657412528992,
-0.08013936132192612,
-0.06780553609132767,
-0.020001474767923355,
-0.040130771696567535,
-0.010486789047718048,
-0.012656486593186855,
0.01887187361717224,
-0.028326911851763725,
0.07664819061756134,
0.07162458449602127,
-0.05134899541735649,
0.0792175829410553,
-0.0... | -0.028062 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.