content
large_stringlengths
3
20.5k
url
large_stringlengths
54
193
branch
large_stringclasses
4 values
source
large_stringclasses
42 values
embeddings
listlengths
384
384
score
float64
-0.21
0.65
here forever, so should not be considered part of the API. If you use automatic memory management (explained later in this document) you don't need to free replies (but you still could if you wish to release memory ASAP). ## Returning values from Redis commands Like normal Redis commands, new commands implemented via m...
https://github.com/redis/redis-doc/blob/master//docs/reference/modules/_index.md
master
redis
[ -0.019746726378798485, -0.016117673367261887, -0.07750649750232697, 0.08626659959554672, -0.010862013325095177, -0.07568985223770142, 0.047102801501750946, 0.058691877871751785, 0.023718183860182762, 0.012181974947452545, -0.02373434416949749, 0.003156084567308426, 0.03128500282764435, -0....
0.143043
This creates a 100 items array having as last element a 10 items array. ## Arity and type checks Often commands need to check that the number of arguments and type of the key is correct. In order to report a wrong arity, there is a specific function called `RedisModule\_WrongArity()`. The usage is trivial: if (argc != ...
https://github.com/redis/redis-doc/blob/master//docs/reference/modules/_index.md
master
redis
[ 0.0774933472275734, 0.02898193709552288, -0.09755667299032211, 0.029234865680336952, -0.11253123730421066, -0.04185290262103081, 0.14450429379940033, 0.025389203801751137, -0.0371154360473156, 0.027009034529328346, -0.016900504007935524, -0.02850431762635708, 0.09503266215324402, -0.074237...
0.12118
with the addition of an empty type, that signals the key pointer is associated with an empty key that does not yet exists. ## Creating new keys To create a new key, open it for writing and then write to it using one of the key writing functions. Example: RedisModuleKey \*key; key = RedisModule\_OpenKey(ctx,argv[1],REDI...
https://github.com/redis/redis-doc/blob/master//docs/reference/modules/_index.md
master
redis
[ 0.016495684161782265, -0.041574928909540176, -0.07252458482980728, 0.07981795072555542, -0.04974240064620972, -0.05213439464569092, 0.0795007050037384, 0.017677582800388336, 0.05040644109249115, -0.02850533276796341, 0.04453568160533905, -0.013292279094457626, 0.05124076455831528, -0.09853...
0.127463
`WRITE` mode. DMA pointers are only valid if no other operations are performed with the key before using the pointer, after the DMA call. Sometimes when we want to manipulate strings directly, we need to change their size as well. For this scope, the `RedisModule\_StringTruncate` function is used. Example: RedisModule\...
https://github.com/redis/redis-doc/blob/master//docs/reference/modules/_index.md
master
redis
[ 0.028928881511092186, 0.04487605765461922, 0.025212744250893593, 0.038291748613119125, -0.12325108051300049, -0.04839548468589783, 0.047497160732746124, 0.10922101885080338, -0.022511940449476242, 0.031781043857336044, -0.014010250568389893, 0.03864359110593796, 0.015966279432177544, -0.07...
0.089897
so that the AOF and replication effects are the same as executing a single command. Note that `Call()` replication and `Replicate()` replication have a rule, in case you want to mix both forms of replication (not necessarily a good idea if there are simpler approaches). Commands replicated with `Call()` are always the ...
https://github.com/redis/redis-doc/blob/master//docs/reference/modules/_index.md
master
redis
[ -0.024952629581093788, -0.0681365430355072, -0.11887367814779282, 0.05564137548208237, -0.027313850820064545, -0.10398594290018082, 0.018110228702425957, -0.003373066196218133, 0.11497806757688522, 0.05923507362604141, 0.01105253491550684, 0.05601806566119194, 0.01811334863305092, -0.07072...
0.182421
the overhead of the allocations is small, and more important, the memory allocated is automatically released when the command returns. So in general short living allocations are a good candidates for the pool allocator. ## Writing commands compatible with Redis Cluster Documentation missing, please check the following ...
https://github.com/redis/redis-doc/blob/master//docs/reference/modules/_index.md
master
redis
[ 0.005254335235804319, -0.05115840584039688, -0.11219459027051926, 0.04850009083747864, -0.012576061300933361, -0.030068008229136467, 0.033502403646707535, 0.022260362282395363, -0.01602000556886196, 0.01326574943959713, 0.0355059914290905, -0.017155738547444344, 0.006481910590082407, -0.02...
0.135171
When Redis is used as a cache, it is often convenient to let it automatically evict old data as you add new data. This behavior is well known in the developer community, since it is the default behavior for the popular \*memcached\* system. This page covers the more general topic of the Redis `maxmemory` directive used...
https://github.com/redis/redis-doc/blob/master//docs/reference/eviction/index.md
master
redis
[ 0.018086032941937447, -0.01702773943543434, -0.10806090384721756, 0.013294394128024578, -0.021005012094974518, -0.1253521889448166, 0.009075612761080265, 0.055357955396175385, 0.025559037923812866, 0.011950260028243065, -0.0012651303550228477, 0.10700974613428116, -0.012167608365416527, -0...
0.122459
mainly useful when you want to use a single instance for both caching and to have a set of persistent keys. However it is usually a better idea to run two Redis instances to solve such a problem. It is also worth noting that setting an `expire` value to a key costs memory, so using a policy like \*\*allkeys-lru\*\* is ...
https://github.com/redis/redis-doc/blob/master//docs/reference/eviction/index.md
master
redis
[ -0.045149534940719604, -0.023931434378027916, -0.04955665394663811, 0.020157789811491966, -0.019418800249695778, -0.07965882122516632, 0.04501134529709816, 0.026792190968990326, 0.08100210875272751, 0.025429263710975647, 0.03334410861134529, 0.08283527940511703, 0.04460907354950905, -0.077...
0.1655
that are among the latest accessed are still retained by Redis 2.8. Using a sample size of 10 in Redis 3.0 the approximation is very close to the theoretical performance of Redis 3.0. Note that LRU is just a model to predict how likely a given key will be accessed in the future. Moreover, if your data access pattern cl...
https://github.com/redis/redis-doc/blob/master//docs/reference/eviction/index.md
master
redis
[ 0.004714068491011858, -0.08490953594446182, -0.08163472265005112, 0.028139492496848106, 0.05830435827374458, -0.13117434084415436, -0.040881481021642685, 0.04515478387475014, -0.007315253373235464, -0.014310010708868504, -0.0005768015398643911, 0.09217457473278046, -0.05092412978410721, -0...
0.017487
the factor, the better is the resolution of the counter for low accesses, according to the following table: ``` +--------+------------+------------+------------+------------+------------+ | factor | 100 hits | 1000 hits | 100K hits | 1M hits | 10M hits | +--------+------------+------------+------------+------------+---...
https://github.com/redis/redis-doc/blob/master//docs/reference/eviction/index.md
master
redis
[ 0.07868649810552597, -0.02317587472498417, -0.12772801518440247, 0.018361292779445648, -0.061254315078258514, -0.0290705393999815, 0.0017525963485240936, 0.06260289251804352, 0.027814770117402077, 0.03278391435742378, 0.003354826243594289, -0.03194321319460869, 0.08645419776439667, -0.0284...
0.038401
This quick start guide shows you how to: 1. Get started with Redis 2. Store data under a key in Redis 3. Retrieve data with a key from Redis 4. Scan the keyspace for keys that match a specific pattern The examples in this article refer to a simple bicycle inventory. ## Setup The easiest way to get started with Redis is...
https://github.com/redis/redis-doc/blob/master//docs/get-started/data-store.md
master
redis
[ 0.023406462743878365, -0.040021851658821106, -0.09293578565120697, -0.015310842543840408, -0.050688646733760834, -0.00974026508629322, 0.01445914525538683, 0.04402565956115723, -0.02028047852218151, 0.02022971212863922, 0.050825268030166626, -0.04621502012014389, 0.1060614064335823, -0.083...
0.061411
quick start guides: \* [Redis as a document database](/docs/get-started/document-database/) \* [Redis as a vector database](/docs/get-started/vector-database/)
https://github.com/redis/redis-doc/blob/master//docs/get-started/data-store.md
master
redis
[ -0.01995522528886795, -0.044236574321985245, -0.14815719425678253, 0.02665167860686779, -0.016771826893091202, -0.02076047845184803, -0.009145836345851421, 0.05814152956008911, -0.07242406904697418, -0.0023553769569844007, -0.01382744312286377, 0.05875733867287636, 0.04991431161761284, -0....
0.125943
## How is Redis different from other key-value stores? \* Redis has a different evolution path in the key-value DBs where values can contain more complex data types, with atomic operations defined on those data types. Redis data types are closely related to fundamental data structures and are exposed to the programmer ...
https://github.com/redis/redis-doc/blob/master//docs/get-started/faq.md
master
redis
[ 0.00032234456739388406, -0.04825826361775398, -0.08537387102842331, 0.03000488132238388, -0.010869394056499004, -0.07810012251138687, -0.0042182160541415215, 0.06228521466255188, 0.08001960813999176, 0.03010350465774536, -0.037960465997457504, 0.08741151541471481, 0.043130919337272644, -0....
0.132412
you use Redis with a disk-based database? Yes, a common design pattern involves taking very write-heavy small data in Redis (and data you need the Redis data structures to model your problem in an efficient way), and big \*blobs\* of data into an SQL or eventually consistent on-disk database. Similarly sometimes Redis ...
https://github.com/redis/redis-doc/blob/master//docs/get-started/faq.md
master
redis
[ 0.023978527635335922, -0.012270966544747353, -0.07130301743745804, 0.030028710141777992, -0.04364199936389923, -0.10219905525445938, 0.03489712253212929, 0.06152823194861412, -0.021746309474110603, 0.038131970912218094, -0.04820018634200096, 0.100807324051857, 0.037586040794849396, -0.0506...
0.098836
becomes your bottleneck with Redis, as usually Redis is either memory or network bound. For instance, when using pipelining a Redis instance running on an average Linux system can deliver 1 million requests per second, so if your application mainly uses O(N) or O(log(N)) commands, it is hardly going to use too much CPU...
https://github.com/redis/redis-doc/blob/master//docs/get-started/faq.md
master
redis
[ 0.01649402640759945, -0.06505552679300308, -0.06004071608185768, -0.012282679788768291, -0.0010973169701173902, -0.0996415913105011, -0.023290254175662994, 0.020512666553258896, 0.04713033139705658, -0.012255738489329815, -0.0563010610640049, 0.04343252256512642, 0.018670013174414635, -0.0...
0.059089
--- title: "Quick starts" linkTitle: "Quick starts" hideListLinks: true weight: 20 description: > Redis quick start guides aliases: - /docs/getting-started/ --- Redis can be used as a database, cache, streaming engine, message broker, and more. The following quick start guides will show you how to use Redis for the fo...
https://github.com/redis/redis-doc/blob/master//docs/get-started/_index.md
master
redis
[ -0.06022506579756737, -0.03519003838300705, -0.10114296525716782, 0.0639282688498497, 0.03592398762702942, 0.007119201123714447, 0.04609547182917595, 0.08222471922636032, -0.04245782643556595, -0.022662436589598656, 0.008825133554637432, 0.05381380021572113, 0.009315299801528454, -0.057840...
0.059791
{{< docs/hero-simple key="hero" >}} --- ## Overview \_Grafana Open Source Software (OSS)\_ enables you to query, visualize, alert on, and explore your metrics, logs, and traces wherever they're stored. Grafana data source plugins enable you to query data sources including time series databases like Prometheus and Cloud...
https://github.com/grafana/grafana/blob/main//docs/sources/_index.md
main
grafana
[ -0.053684379905462265, 0.010973703116178513, -0.08966420590877533, 0.03500949591398239, 0.007962479256093502, -0.08893789350986481, -0.07616965472698212, 0.02541094273328781, -0.014078727923333645, 0.040807757526636124, -0.031832873821258545, -0.015231710858643055, -0.01998092420399189, -0...
0.157837
# Parca data source Grafana ships with built-in support for Parca, a continuous profiling OSS database for analysis of CPU and memory usage, down to the line number and throughout time. Add it as a data source, and you are ready to query your profiles in [Explore](ref:explore). ## Supported Parca versions This data sou...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/parca.md
main
grafana
[ 0.013128328137099743, -0.05061252787709236, -0.1715467870235443, 0.03582604229450226, -0.08150467276573181, -0.09405963122844696, -0.07153148949146271, 0.04271727055311203, -0.02020551823079586, 0.001076950691640377, 0.003773248055949807, -0.043746087700128555, -0.011068373918533325, -0.06...
0.004741
# Grafana data sources Grafana comes with built-in support for many \_data sources\_. If you need other data sources, you can also install one of the many data source plugins. If the plugin you need doesn't exist, you can develop a custom plugin. {{< youtube id="cqHO0oYW6Ic" >}} Each data source comes with a \_query ed...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/_index.md
main
grafana
[ -0.06757131963968277, -0.06004847586154938, -0.11245023459196091, 0.06298720836639404, 0.005842167884111404, 0.002983666257932782, 0.07337161898612976, -0.04591689258813858, 0.023910781368613243, 0.0192585252225399, -0.02810351736843586, -0.06025122106075287, 0.033164430409669876, -0.02183...
0.068364
that you add. - The first query uses the data source that was selected before you selected \*\*Mixed\*\*. - You can't change an existing query to use the \*\*Mixed\*\* data source. {{< docs/play title="Mixed Datasources Example" url="https://play.grafana.org/d/000000100/" >}} ### Dashboard A data source that uses the r...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/_index.md
main
grafana
[ -0.06344965100288391, 0.006910011172294617, -0.07237649708986282, 0.0281861312687397, 0.006413131486624479, 0.02183709852397442, 0.050751011818647385, -0.019816044718027115, 0.06834184378385544, 0.06946974992752075, 0.005002074409276247, -0.0995861366391182, 0.028240898624062538, -0.051228...
-0.009221
# Google Cloud Monitoring data source Grafana ships with built-in support for Google Cloud Monitoring. This topic describes queries, templates, variables, and other configuration specific to the Google Cloud Monitoring data source. For instructions on how to add a data source to Grafana, refer to the [administration do...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/google-cloud-monitoring/_index.md
main
grafana
[ -0.1268354207277298, -0.03852099925279617, -0.05194932222366333, 0.016807058826088905, -0.035101912915706635, -0.05515538528561592, 0.0026512262411415577, -0.1069641187787056, -0.02921995334327221, 0.09286923706531525, -0.016032639890909195, -0.08813060820102692, 0.05620252713561058, -0.06...
-0.001755
proxy jsonData: tokenUri: https://oauth2.googleapis.com/token clientEmail: stackdriver@myproject.iam.gserviceaccount.com authenticationType: jwt defaultProject: my-project-name universeDomain: googleapis.com privateKeyPath: /etc/secrets/gce.pem ``` \*\*Using GCE Default Service Account authentication:\*\* ```yaml apiVe...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/google-cloud-monitoring/_index.md
main
grafana
[ -0.11514367163181305, -0.009046929888427258, 0.010558092966675758, -0.030344506725668907, -0.005033411085605621, -0.08723314106464386, 0.010965276509523392, -0.031003331765532494, 0.02819635532796383, 0.032874464988708496, -0.024213451892137527, -0.06698265671730042, 0.06387738138437271, -...
0.003016
# Configure Google authentication Requests from a Grafana plugin to Google are made on behalf of an Identity and Access Management (IAM) role or IAM user. The IAM user or IAM role must have the associated policies to perform certain API actions. Since these policies are specific to each data source, refer to the data s...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/google-cloud-monitoring/google-authentication/index.md
main
grafana
[ -0.15759775042533875, -0.04733237996697426, -0.05012083053588867, -0.07215509563684464, -0.12580949068069458, -0.05370185151696205, -0.015453554689884186, -0.04672790318727493, -0.042998943477869034, 0.0759802833199501, -0.012688021175563335, -0.09085020422935486, 0.023718953132629395, -0....
0.001346
running as the service account that you created. For more information, refer to [setting up an instance to run as a service account](https://cloud.google.com/compute/docs/access/create-enable-service-accounts-for-instances#using). - Allow access to the specified API scope. For more information about creating and enabli...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/google-cloud-monitoring/google-authentication/index.md
main
grafana
[ -0.11121951788663864, -0.08270663768053055, -0.022718172520399094, -0.07113893330097198, -0.09237000346183777, -0.025036947801709175, 0.08988546580076218, -0.020473994314670563, 0.007133597508072853, 0.10317449271678925, -0.04467742145061493, -0.11312920600175858, 0.03674503043293953, 0.01...
0.024263
# Google Cloud Monitoring template variables Instead of hard-coding details such as server, application, and sensor names in metric queries, you can use variables. Grafana lists these variables in dropdown select boxes at the top of the dashboard to help you change the data displayed in your dashboard. Grafana refers t...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/google-cloud-monitoring/template-variables/index.md
main
grafana
[ -0.05102653428912163, 0.013749765232205391, -0.00793894287198782, 0.033229630440473557, -0.02340264804661274, -0.013463805429637432, 0.06877920776605606, -0.03866187483072281, -0.01920214667916298, 0.03942478448152542, -0.0457342267036438, -0.10403748601675034, 0.03886674717068672, -0.0573...
0.020696
# Google Cloud Monitoring query editor This topic explains querying specific to the Google Cloud Monitoring data source. For general documentation on querying data sources in Grafana, see [Query and transform data](ref:query-transform-data). ## Choose a query editing mode The Google Cloud Monitoring query editor helps ...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/google-cloud-monitoring/query-editor/index.md
main
grafana
[ -0.09732386469841003, -0.0026728371158242226, -0.003450768766924739, 0.04788355529308319, -0.03393040597438812, -0.019665677100419998, 0.04291650280356407, -0.0787941962480545, 0.04422255605459213, 0.04500311240553856, -0.05156832933425903, -0.11341091990470886, 0.036872487515211105, -0.03...
0.095785
Configure pre-processing options The query editor displays pre-processing options when the selected metric has a metric type of `DELTA` or `CUMULATIVE`. - The \*\*Rate\*\* option aligns and converts data points to a rate per time series. - The \*\*Delta\*\* option aligns data points by their delta (difference) per time...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/google-cloud-monitoring/query-editor/index.md
main
grafana
[ -0.10769778490066528, -0.006767878774553537, -0.07118361443281174, 0.01468296442180872, -0.07882828265428543, -0.021542875096201897, -0.004289721138775349, -0.05967970937490463, 0.06565362960100174, 0.013953215442597866, -0.002110833767801523, -0.106132373213768, -0.018256692215800285, -0....
0.010805
format: | Alias pattern | Description | Alias pattern example | Example result | | -------------------------------- | ------------------------------------------------ | --------------------------------- | ------------------------------------------------- | | `{{metric.label.xxx}}` | Returns the metric label value. | `{...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/google-cloud-monitoring/query-editor/index.md
main
grafana
[ -0.03317438066005707, 0.08191926777362823, -0.011789102107286453, 0.007703880313783884, -0.0645592212677002, 0.03035596013069153, 0.06696384400129318, 0.06910187005996704, -0.0007915637688711286, -0.06769700348377228, -0.02982042171061039, -0.10715215653181076, -0.04457365348935127, -0.001...
0.052482
data in time series format. To understand basic concepts in service monitoring, refer to the [Google Cloud Monitoring documentation](https://cloud.google.com/monitoring/service-monitoring). ### Create an SLO query \*\*To create an SLO query:\*\* 1. Select the \*\*Service Level Objectives (SLO)\*\* option in the \*\*Que...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/google-cloud-monitoring/query-editor/index.md
main
grafana
[ -0.07073433697223663, -0.043533723801374435, -0.011961743235588074, 0.007942094467580318, 0.00416353065520525, -0.04486563429236412, 0.05819302052259445, -0.09006299078464508, 0.035109199583530426, 0.025840694084763527, -0.026067163795232773, -0.06338320672512054, -0.0005549120251089334, -...
0.076989
# TestData data source Grafana ships with a TestData data source, which creates simulated time series data for any [panel](ref:panels-visualizations). You can use it to build your own fake and random time series data and render it in any panel, which helps you verify dashboard functionality since you can safely and eas...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/testdata/_index.md
main
grafana
[ -0.1386256366968155, -0.043460696935653687, -0.091839499771595, 0.010364105924963951, -0.07732240855693817, -0.07030139118432999, -0.045898791402578354, -0.06953536719083786, -0.010187418200075626, 0.059350281953811646, -0.02618906833231449, -0.08385283499956131, 0.012633133679628372, -0.0...
0.019087
configuration would be: ```ini [plugin.grafana-testdata-datasource] as\_external = true ``` 1. Restart Grafana. These settings, if enabled, allow you to to install TestData as an external plugin and manage its lifecycle independently of Grafana. With the feature toggle disabled (default) TestData can still be installed...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/testdata/_index.md
main
grafana
[ -0.11382727324962616, -0.023323137313127518, -0.103401318192482, 0.028597086668014526, -0.04880776256322861, -0.05381626635789871, -0.05246160924434662, -0.014501106925308704, -0.08044271171092987, 0.05685559660196304, 0.05991455912590027, -0.03387850895524025, -0.05131186172366142, 0.0521...
0.038434
# Loki data source Grafana ships with built-in support for [Loki](/docs/loki/latest/), an open-source log aggregation system by Grafana Labs. If you are new to Loki the following documentation will help you get started: - [Getting started](/docs/loki/latest/get-started/) - [Best practices](/docs/loki/latest/best-practi...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/loki/configure-loki-data-source.md
main
grafana
[ -0.055407725274562836, -0.06640607118606567, -0.05445024371147156, 0.029526429250836372, -0.05123419314622879, -0.053371135145425797, -0.04463807865977287, 0.010596715845167637, -0.004349443130195141, 0.06792860478162766, -0.0009374350775033236, -0.06307100504636765, 0.01167531218379736, 0...
0.121861
Sets the maximum number of log lines returned by Loki. Increase the limit to have a bigger results set for ad-hoc analysis. Decrease the limit if your browser is sluggish when displaying log results. The default is `1000`. ### Derived fields Derived Fields are used to extract new fields from your logs and create a link...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/loki/configure-loki-data-source.md
main
grafana
[ -0.05851251259446144, 0.0294332355260849, -0.019888779148459435, 0.02158529683947563, 0.044640641659498215, -0.10368704050779343, 0.01637306623160839, -0.02265433967113495, 0.016124635934829712, 0.03042840212583542, -0.023249981924891472, -0.04674701765179634, -0.037018969655036926, 0.0033...
0.099943
# Loki data source Grafana Loki is a set of components that can be combined into a fully featured logging stack. Unlike other logging systems, Loki is built around the idea of only indexing metadata about your logs: labels (just like Prometheus labels). Log data itself is then compressed and stored in chunks in object ...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/loki/_index.md
main
grafana
[ -0.03956559672951698, -0.021931227296590805, -0.051115717738866806, 0.034946899861097336, 0.043971654027700424, -0.06804635375738144, -0.022208653390407562, 0.03373420611023903, -0.012655719183385372, 0.03825278952717781, -0.00020223473256919533, -0.04146213456988335, -0.035331595689058304, ...
0.189878
# Loki template variables Instead of hard-coding details such as server, application, and sensor names in metric queries, you can use variables. Grafana lists these variables in dropdown select boxes at the top of the dashboard to help you change the data displayed in your dashboard. Grafana refers to such variables as...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/loki/template-variables/index.md
main
grafana
[ -0.0382850207388401, 0.018475208431482315, -0.0750751718878746, 0.05027484893798828, -0.0536922849714756, 0.0370851531624794, 0.07357081770896912, 0.04769095405936241, -0.027212444692850113, -0.026778923347592354, -0.0404338538646698, -0.12978816032409668, -0.010933686047792435, 0.01914727...
0.111071
and indexing labels, Loki enables users to perform complex and targeted log queries without compromising on query speed and resource consumption. Utilizing Loki's indexed labels in combination with Grafana's template variables provides a powerful way to interactively explore and visualize log data. Template variables a...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/loki/template-variables/index.md
main
grafana
[ -0.022238297387957573, 0.03606558218598366, -0.027304528281092644, 0.05583815276622772, 0.03556830435991287, -0.006270029116421938, 0.06923799216747284, -0.011235201731324196, 0.0008450828609056771, -0.03920705243945122, -0.03686156123876572, 0.005471190437674522, -0.013601367361843586, 0....
0.227742
# Loki query editor The Loki data source's query editor helps you create [log](#create-a-log-query) and [metric](#create-a-metric-query) queries that use Loki's query language, [LogQL](/docs/loki/latest/logql/). For general documentation on querying data sources in Grafana, refer to [Query and transform data](ref:query...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/loki/query-editor/index.md
main
grafana
[ -0.06458867341279984, -0.036443427205085754, -0.058876678347587585, 0.08557163923978806, -0.1115569919347763, -0.0382462702691555, 0.013300749473273754, 0.0069279796443879604, 0.01592099852859974, 0.07074809074401855, -0.031836919486522675, -0.09968137741088867, 0.026908960193395615, 0.006...
0.130721
Select the `+ Operations` button to add operations to your query. The query editor groups operations into related sections, and you can type while the operations dropdown is open to search and filter the list. The query editor displays a query's operations as boxes in the operations section. Each operation's header dis...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/loki/query-editor/index.md
main
grafana
[ -0.036965545266866684, 0.02032681554555893, -0.04750514030456543, 0.12950126826763153, -0.08917520940303802, 0.05996822193264961, 0.05741728097200394, -0.015153435058891773, 0.017767716199159622, 0.03173905983567238, -0.026156090199947357, -0.03385386988520622, 0.008516042493283749, -0.085...
0.049212
can query and display log data from Loki via [Explore](ref:explore), and with the [Logs panel](ref:logs) in dashboards. To display the results of a log query, select the Loki data source, then enter a LogQL query. For more information about log queries and LogQL, refer to the [Loki log queries documentation](/docs/loki...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/loki/query-editor/index.md
main
grafana
[ 0.023714082315564156, -0.02553386054933071, -0.01679079979658127, 0.05661218613386154, 0.05707354471087456, -0.027440326288342476, 0.04638229310512543, 0.0038328771479427814, 0.02806275151669979, -0.020708546042442322, -0.02521585486829281, -0.06840533018112183, 0.05095429718494415, 0.0460...
0.065458
# Alertmanager data source Grafana includes built-in support for Alertmanager implementations in Prometheus and Mimir. Once you add an Alertmanager as a data source, you can use the `Choose Alertmanager` drop-down on [Grafana Alerting](ref:alerting) to view and manage Alertmanager resources, such as silences, contact p...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/alertmanager/_index.md
main
grafana
[ -0.10126756131649017, 0.0020671153906732798, -0.059072352945804596, 0.05754469707608223, 0.06928151100873947, -0.10315555334091187, 0.07528068870306015, -0.09720829874277115, 0.05018364638090134, -0.011882788501679897, -0.013464792631566525, -0.08791294693946838, 0.028240663930773735, 0.00...
0.188682
# Jaeger data source Grafana ships with built-in support for Jaeger, which provides open source, end-to-end distributed tracing. This topic explains configuration and queries specific to the Jaeger data source. For instructions on how to add a data source to Grafana, refer to the [administration documentation](ref:data...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/jaeger/_index.md
main
grafana
[ -0.10148709267377853, -0.024733448401093483, -0.07111635059118271, 0.021565362811088562, -0.035297952592372894, -0.06720983237028122, -0.025633208453655243, -0.03337433934211731, -0.019572226330637932, 0.07474623620510101, 0.0034335500095039606, -0.0902976468205452, 0.03352814540266991, -0...
0.098673
if your logs consistently contain trace or span IDs. #### Configure a custom query 1. Select the target data source from the drop-down list. You can also click \*\*Open advanced data source picker\*\* to see more options, including adding a data source. 1. Set start and end time shift. Since the logs timestamps may not...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/jaeger/_index.md
main
grafana
[ -0.028957920148968697, 0.026432571932673454, 0.034786906093358994, 0.05577077716588974, 0.06587514281272888, -0.08571238070726395, 0.053627509623765945, -0.04750813916325569, 0.003696975763887167, 0.02574102208018303, 0.01889752969145775, -0.04979011416435242, 0.024440176784992218, -0.0435...
-0.034926
past, use a negative value. Default: `0`. | | \*\*Span end time shift\*\* | Shifts the end time for the logs query, based on the span's end time. You can use time units. Default: `0`. | | \*\*Tags\*\* | Defines the tags to use in the logs query. Default: `cluster`, `hostname`, `namespace`, `pod`, `service.name`, `servi...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/jaeger/_index.md
main
grafana
[ 0.029665853828191757, 0.03894277289509773, 0.013294817879796028, 0.07367763668298721, -0.012692121788859367, -0.07864504307508469, 0.046154048293828964, -0.029847336933016777, 0.01932043395936489, 0.08356843143701553, 0.023763960227370262, -0.06136264279484749, 0.05002059042453766, -0.0209...
0.116734
['job', 'instance', 'pod', 'namespace'] filterByTraceID: false filterBySpanID: false customQuery: true query: 'method="$${\_\_span.tags.method}"' tracesToMetrics: datasourceUid: 'prom' spanStartTimeShift: '1h' spanEndTimeShift: '-1h' tags: [{ key: 'service.name', value: 'service' }, { key: 'job' }] queries: - name: 'Sa...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/jaeger/_index.md
main
grafana
[ -0.021944841369986534, 0.02759050577878952, 0.010600724257528782, 0.05798667296767235, 0.025942564010620117, -0.04240823909640312, 0.0577416867017746, -0.0581345409154892, 0.02150857076048851, -0.0013041681377217174, 0.017666833475232124, -0.15996423363685608, 0.012006780132651329, -0.0272...
0.034621
link to Jaeger traces from metrics in Prometheus data sources by configuring an exemplar. To configure this feature, see the [introduction to exemplars](ref:exemplars) documentation. ## Visualizing the dependency graph If service dependency information is available in Jaeger, it can be visualized in Grafana. Use the Ja...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/jaeger/_index.md
main
grafana
[ -0.1217927560210228, 0.010032763704657555, -0.045818399637937546, -0.009475595317780972, -0.05470513179898262, -0.04881962016224861, -0.021695740520954132, -0.011384226381778717, -0.013226444832980633, 0.012884924188256264, 0.022036919370293617, -0.11245515197515488, -0.009236986748874187, ...
0.110743
# Amazon CloudWatch data source Amazon CloudWatch is the AWS native monitoring and observability service that collects, aggregates, and stores metrics, logs, and events from AWS resources, applications, and services. CloudWatch enables you to visualize performance data, track system health, and set up automated alerts ...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/aws-cloudwatch/_index.md
main
grafana
[ -0.08122986555099487, -0.0353596992790699, -0.07419413328170776, 0.021667029708623886, 0.0179639533162117, -0.022676503285765648, -0.00026012546732090414, -0.02753031812608242, 0.05181301757693291, 0.08315105736255646, -0.028055157512426376, -0.097317636013031, 0.03598536178469658, -0.0121...
0.099071
console](https://console.aws.amazon.com/servicequotas/home?r#!/services/monitoring/quotas/L-5E141212). For more information, refer to the AWS documentation for [Service Quotas](https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html) and [CloudWatch limits](https://docs.aws.amazon.com/AmazonCloudWatch/lat...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/aws-cloudwatch/_index.md
main
grafana
[ 0.013807755894958973, -0.07242798805236816, -0.04567618668079376, -0.027791067957878113, 0.0740765854716301, 0.015233240090310574, 0.029190313071012497, -0.06660205125808716, 0.0728808268904686, 0.0627523735165596, -0.05389918386936188, -0.0837855264544487, 0.04020578786730766, 0.000754906...
0.026552
# Configure the Amazon CloudWatch data source This document provides instructions for configuring the Amazon CloudWatch data source and explains available configuration options. For general information on adding and managing data sources, refer to [Data source management](ref:data-source-management). ## Before you begi...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/aws-cloudwatch/configure/index.md
main
grafana
[ -0.0794072300195694, -0.04656742885708809, -0.07175950706005096, 0.009605410508811474, -0.029211819171905518, 0.01502954214811325, -0.026570376008749008, -0.08254413306713104, 0.019560396671295166, 0.09780241549015045, -0.01059211790561676, -0.07848111540079117, 0.021417075768113136, -0.05...
0.029989
available in the query editor, manually specify the namespaces in the `Namespaces of Custom Metrics` field in the data source configuration. | \*\*CloudWatch Logs\*\*: | Setting | Description | | ------------------------ | -------------------------------------------------------------------------------------------------...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/aws-cloudwatch/configure/index.md
main
grafana
[ -0.011836213059723377, -0.04390813782811165, -0.018177660182118416, 0.04829348623752594, -0.05200246721506119, 0.0026657520793378353, 0.046831388026475906, -0.06650467216968536, 0.084968201816082, 0.03503800928592682, -0.024267707020044327, -0.11563901603221893, 0.013891545124351978, -0.01...
0.058122
], "Resource": "\*" }, { "Sid": "AllowReadingResourceMetricsFromPerformanceInsights", "Effect": "Allow", "Action": "pi:GetResourceMetrics", "Resource": "\*" }, { "Sid": "AllowReadingLogsFromCloudWatch", "Effect": "Allow", "Action": [ "logs:DescribeLogGroups", "logs:GetLogGroupFields", "logs:StartQuery", "logs:StopQuery...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/aws-cloudwatch/configure/index.md
main
grafana
[ -0.0009501903550699353, 0.06043165922164917, -0.043581247329711914, 0.014111154712736607, 0.008263691328465939, -0.005111491773277521, 0.01128479652106762, -0.05508452281355858, 0.03102940507233143, 0.044306494295597076, -0.02398238517343998, -0.10391133278608322, 0.06319800764322281, 0.00...
0.072158
# CloudWatch template variables Instead of hard-coding details such as server, application, and sensor names in metric queries, you can use variables. Grafana lists these variables in drop-down select boxes at the top of the dashboard to help you change the data displayed in your dashboard, and they are called template...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/aws-cloudwatch/template-variables/index.md
main
grafana
[ -0.02252650260925293, 0.01718401536345482, -0.017910458147525787, 0.041884057223796844, -0.03782963380217552, 0.026998840272426605, 0.0459006167948246, -0.027598265558481216, 0.023914914578199387, 0.04757009074091911, -0.03775835037231445, -0.11480198800563812, 0.0333128347992897, -0.02984...
0.04108
# Troubleshoot Amazon CloudWatch data source issues This document provides solutions to common issues you may encounter when configuring or using the Amazon CloudWatch data source. For configuration instructions, refer to [Configure CloudWatch](ref:configure-cloudwatch). {{< admonition type="note" >}} The data source h...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/aws-cloudwatch/troubleshooting/index.md
main
grafana
[ 0.005434107966721058, 0.006738131400197744, -0.03626643493771553, 0.039847902953624725, 0.05737781897187233, -0.014540422707796097, 0.06747478246688843, -0.09463392943143845, 0.015442472882568836, 0.08210594207048416, 0.02130969427525997, -0.06356925517320633, 0.029207224026322365, 0.00811...
0.035093
\*\*Symptoms:\*\* - Error indicates credentials file cannot be read - Authentication fails with "Credentials file" option \*\*Solutions:\*\* 1. Create the credentials file at `~/.aws/credentials` for the user running the `grafana-server` service. 1. Verify the file has correct permissions (`0644`). 1. If the file exist...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/aws-cloudwatch/troubleshooting/index.md
main
grafana
[ -0.10003826022148132, 0.016306355595588684, -0.10167299956083298, -0.04448374733328819, -0.08056800812482834, -0.02958274818956852, -0.06135145202279091, -0.045586057007312775, 0.03942243754863739, 0.10965514928102493, -0.018104419112205505, -0.0561407133936882, 0.009681511670351028, 0.009...
-0.013609
namespace and metric are selected before dimension values can load. 1. For EC2 dimensions, ensure `ec2:DescribeTags` and `ec2:DescribeInstances` permissions are granted. 1. Dimension values require existing metrics—if no metrics match, no values appear. ### "Too many data points" or API throttling \*\*Symptoms:\*\* - Q...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/aws-cloudwatch/troubleshooting/index.md
main
grafana
[ -0.031303223222494125, -0.010295223444700241, -0.05252427980303764, 0.030844101682305336, -0.04491768404841423, -0.04666974022984505, -0.04384142905473709, -0.011191343888640404, 0.052874986082315445, 0.07094300538301468, -0.04705708846449852, -0.13157415390014648, 0.06549552828073502, -0....
-0.005635
Dashboard fails to load with variable errors \*\*Solutions:\*\* 1. Verify the data source connection is working. 1. Check that the IAM policy includes permissions for the variable query type: - \*\*Regions:\*\* No additional permissions needed. - \*\*Namespaces:\*\* No additional permissions needed. - \*\*Metrics:\*\* ...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/aws-cloudwatch/troubleshooting/index.md
main
grafana
[ 0.018898550420999527, 0.0016867828089743853, -0.030466806143522263, -0.007203747984021902, 0.007834559306502342, -0.009629139676690102, 0.02139747329056263, 0.00012700677325483412, 0.01769413985311985, 0.07482847571372986, -0.0073929219506680965, -0.1309637725353241, 0.06698286533355713, 0...
0.02717
dashboards not working \*\*Symptoms:\*\* - Imported dashboards show no data - Dashboard variables don't load \*\*Solutions:\*\* 1. Verify the data source name in the dashboard matches your CloudWatch data source. 1. Check that the dashboard's AWS region setting matches where your resources are located. 1. Ensure the IA...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/aws-cloudwatch/troubleshooting/index.md
main
grafana
[ 0.010636021383106709, -0.043299585580825806, 0.008778177201747894, -0.008523378521203995, 0.11642730236053467, -0.016853218898177147, 0.018886728212237358, -0.05586223676800728, -0.005674679763615131, 0.05982718616724014, 0.024091606959700584, -0.08539310097694397, 0.0986650213599205, 0.03...
0.012919
# Amazon CloudWatch query editor Grafana provides a query editor for the CloudWatch data source, which allows you to query, visualize, and alert on logs and metrics stored in Amazon CloudWatch. It is located on the [Explore](ref:explore) page. For general documentation on querying data sources in Grafana, refer to [Que...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/aws-cloudwatch/query-editor/index.md
main
grafana
[ -0.0351911336183548, -0.005345566663891077, -0.03305947035551071, 0.06935179233551025, 0.003269472159445286, 0.0015567028895020485, 0.02160763181746006, -0.04537930339574814, 0.07970617711544037, 0.06237927824258804, -0.03509634733200073, -0.11533620953559875, 0.03385588526725769, -0.03419...
0.067299
code editor can interfere with autocompletion. {{< /admonition >}} To run the query, click \*\*Run query\*\* above the code editor. ## Query CloudWatch metrics You can create two types of queries in the CloudWatch query editor: - [Metric Search](#metric-search-queries), which help you retrieve and filter available metr...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/aws-cloudwatch/query-editor/index.md
main
grafana
[ -0.048132363706827164, -0.0425221212208271, -0.02034451998770237, 0.09101579338312149, -0.023955609649419785, 0.04597330838441849, 0.06712118536233902, -0.054110970348119736, 0.05828152224421501, 0.008472342044115067, -0.03601616621017456, -0.11293551325798035, 0.005536509212106466, -0.015...
0.059647
and also lets you use template variables for queries that have the `Match Exact` option disabled. Search expressions are limited to 1,024 characters, so your query might fail if you have a long list of values. We recommend using the asterisk (`\*`) wildcard instead of the `All` option to query all metrics that have any...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/aws-cloudwatch/query-editor/index.md
main
grafana
[ -0.015727754682302475, 0.03447721153497696, 0.01666889153420925, 0.023928921669721603, -0.015263661742210388, 0.02275923825800419, 0.033853258937597275, -0.035584788769483566, 0.06308785825967789, 0.011928469873964787, -0.03061165101826191, -0.10926543176174164, 0.0027030431665480137, 0.00...
0.02175
table summarizes common Metrics Insights query keywords: | Keyword | Description | | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `FUNCTION` ...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/aws-cloudwatch/query-editor/index.md
main
grafana
[ 0.009321433492004871, -0.03744540363550186, -0.017610715702176094, 0.016271425411105156, -0.0453321598470211, 0.009979397989809513, 0.05080103501677513, 0.03942009434103966, 0.04796316474676132, 0.01583053171634674, 0.02571095898747444, -0.1131063848733902, 0.054263532161712646, 0.00202547...
0.080534
use the Logs Insights QL editor and the `anomaly` command together with the `patterns` command to define and display log anomalies in real time. See the [CloudWatch Logs Insights](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/LogsAnomalyDetection-Insights.html) documentation for more info. \*\*Logs Insights\...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/aws-cloudwatch/query-editor/index.md
main
grafana
[ 0.011963777244091034, -0.027821293100714684, -0.032951172441244125, 0.08318840712308884, 0.04011625424027443, -0.022530704736709595, 0.08091367781162262, -0.06631249934434891, 0.08113454282283783, 0.033715423196554184, -0.03745221719145775, -0.07836264371871948, 0.04429589584469795, -0.004...
0.024447
results are polled from AWS.
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/aws-cloudwatch/query-editor/index.md
main
grafana
[ 0.01708264835178852, 0.008614606224000454, -0.03723912686109543, 0.06976383179426193, 0.06617230921983719, -0.017571786418557167, -0.04846760630607605, -0.07045640051364899, 0.08126108348369598, 0.05515756458044052, 0.014861189760267735, 0.016368601471185684, 0.05079858377575874, -0.085011...
0.024711
# Configure AWS authentication Grafana data source plugins make requests to AWS on behalf of an AWS Identity and Access Management (IAM) [role](https://docs.aws.amazon.com/IAM/latest/UserGuide/id\_roles.html) or IAM [user](https://docs.aws.amazon.com/IAM/latest/UserGuide/id\_users.html). The IAM user or IAM role must h...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/aws-cloudwatch/aws-authentication/index.md
main
grafana
[ -0.1434587985277176, 0.03635479137301445, -0.06854633241891861, -0.006145820487290621, -0.0543682835996151, -0.0526466928422451, 0.005260696168988943, -0.05952894315123558, 0.01749347895383835, 0.08012044429779053, -0.010775909759104252, -0.06852798908948898, 0.07041600346565247, -0.057381...
0.033768
create separate credentials for each data source with distinct permissions, but this approach requires managing and rotating multiple secret and access keys across many data source instances. Instead, assume role functionality lets you use one set of AWS credentials across all AWS data sources with a single permission:...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/aws-cloudwatch/aws-authentication/index.md
main
grafana
[ -0.09299726784229279, 0.023964274674654007, -0.11053205281496048, -0.0001957767817657441, -0.07395438849925995, -0.04908899962902069, 0.029626894742250443, -0.05766809731721878, 0.0371440164744854, 0.06246718764305115, 0.015639523044228554, -0.1009693443775177, 0.09369049221277237, -0.0144...
0.007145
documentation on external ID](https://docs.aws.amazon.com/IAM/latest/UserGuide/id\_roles\_create\_for-user\_externalid.html). To use the Grafana Assume Role: 1. Create a new CloudWatch data source (or update an existing one) and select \*\*Grafana Assume Role\*\* as an authentication provider. 2. In the AWS Console, cr...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/aws-cloudwatch/aws-authentication/index.md
main
grafana
[ -0.11172255128622055, -0.012151510454714298, -0.08216157555580139, -0.008137176744639874, -0.026205383241176605, 0.00772688677534461, 0.028625568374991417, -0.06080217659473419, 0.035095199942588806, 0.0648287832736969, -0.018695732578635216, -0.10560285300016403, 0.059415318071842194, -0....
0.033061
# InfluxDB data source {{< docs/shared lookup="influxdb/intro.md" source="grafana" version="" >}} Grafana includes built-in support for InfluxDB. You do not have to install a plugin to add the InfluxDB data source. Grafana offers multiple configuration options for the InfluxDB data source, including a choice of three q...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/influxdb/_index.md
main
grafana
[ -0.09615813940763474, -0.025331316515803337, -0.037813059985637665, 0.046531617641448975, -0.0801093727350235, 0.002135078888386488, -0.06058713421225548, -0.007891506887972355, -0.04380737245082855, 0.051449064165353775, -0.03511853516101837, -0.10031381249427795, 0.029930559918284416, -0...
0.019056
# Configure the InfluxDB data source This document provides instructions for configuring the InfluxDB data source and explains the available configuration options. ## Before you begin To configure the InfluxDB data source you must have the `Administrator` role. InfluxData provides three query languages. Some key points...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/influxdb/configure-influxdb-data-source/_index.md
main
grafana
[ -0.0715569481253624, -0.06027648597955704, 0.019450606778264046, 0.03214285150170326, -0.03328583016991615, -0.023251568898558617, 0.03750127553939819, 0.04635295271873474, -0.02889154851436615, 0.0009388970793224871, -0.042565684765577316, -0.0996498093008995, 0.07622503489255905, -0.0010...
0.076433
- \*\*Header\*\* - Add a custom HTTP header. Select an option from the drop-down. Allows custom headers to be passed based on the needs of your InfluxDB instance. - \*\*Value\*\* - The value for the header. #### Auth and TSL/SSL Settings (Optional) There are several authentication methods you can choose in the Authenti...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/influxdb/configure-influxdb-data-source/_index.md
main
grafana
[ -0.14074084162712097, 0.05622280016541481, -0.09095443785190582, 0.018624654039740562, -0.07981904596090317, -0.06663289666175842, 0.008113594725728035, -0.027930987998843193, 0.009958297945559025, 0.005755945574492216, -0.07890627533197403, -0.08752398937940598, 0.055014267563819885, -0.0...
0.015294
1.8, the token is `username:password`. #### Advanced Database Settings (Optional) Advanced Database Settings are optional settings that give you more control over the query experience. - \*\*Min time interval\*\* - Sets the minimum time interval for auto group-by. Grafana recommends setting this to match the data write...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/influxdb/configure-influxdb-data-source/_index.md
main
grafana
[ -0.13136596977710724, -0.010836158879101276, -0.11026771366596222, 0.0366193950176239, -0.15700183808803558, -0.04903366044163704, -0.008914670906960964, 0.030857080593705177, 0.0014940029941499233, 0.03816014900803566, -0.010077301412820816, -0.05206815153360367, 0.049421269446611404, -0....
0.164301
secureJsonData: password: grafana ``` \*\*InfluxDB 2.x for Flux example:\*\* ```yaml apiVersion: 1 datasources: - name: InfluxDB\_v2\_Flux type: influxdb access: proxy url: http://localhost:8086 jsonData: version: Flux organization: organization defaultBucket: bucket tlsSkipVerify: true secureJsonData: token: token ```...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/influxdb/configure-influxdb-data-source/_index.md
main
grafana
[ -0.06432744115591049, -0.06400633603334427, -0.05481588467955589, -0.0013427170924842358, -0.05143062770366669, -0.06311354041099548, 0.024865631014108658, -0.019495490938425064, 0.015910252928733826, 0.042843811213970184, -0.00003450090662227012, -0.12137157469987869, 0.06158522143959999, ...
0.06194
# InfluxDB template variables Instead of hard-coding details such as server, application, and sensor names in metric queries, you can use variables. Grafana displays these variables in drop-down select boxes at the top of the dashboard to help you change the data displayed in your dashboard. Grafana refers to such vari...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/influxdb/template-variables/index.md
main
grafana
[ -0.022219741716980934, 0.035961396992206573, -0.016435759142041206, 0.05412162467837334, -0.05389716848731041, -0.03576354682445526, 0.042092617601156235, 0.005988242570310831, -0.021087517961859703, 0.01450405828654766, -0.07924690842628479, -0.13245579600334167, 0.04940665140748024, -0.0...
0.037888
# Troubleshoot issues with the InfluxDB data source This document provides troubleshooting information for common errors you may encounter when using the InfluxDB data source in Grafana. ## Connection errors The following errors occur when Grafana cannot establish or maintain a connection to InfluxDB. ### Failed to con...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/influxdb/troubleshooting/index.md
main
grafana
[ -0.08913549780845642, -0.03562131151556969, -0.026060357689857483, -0.0031764954328536987, -0.060739126056432724, -0.06171043589711189, -0.06970100849866867, -0.06615955382585526, -0.017134375870227814, 0.07843721657991409, -0.020360169932246208, -0.1004951074719429, 0.036968134343624115, ...
0.00624
\*\*SQL:\*\* URL, Database, Token ### DBRP mapping required \*\*Error message:\*\* "database not found" or queries return no data with InfluxQL on InfluxDB 2.x \*\*Cause:\*\* InfluxQL queries on InfluxDB 2.x require a Database and Retention Policy (DBRP) mapping. \*\*Solution:\*\* 1. Create a DBRP mapping in InfluxDB u...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/influxdb/troubleshooting/index.md
main
grafana
[ -0.0736614391207695, -0.046056777238845825, 0.022168507799506187, 0.016129691153764725, -0.10794351994991302, -0.03749724477529526, -0.01725439913570881, -0.03616698831319809, 0.0015852325595915318, 0.0453232116997242, 0.019910380244255066, -0.13589730858802795, 0.0934327021241188, -0.0366...
0.018973
the database is new, add some test data to verify the connection. ## Other common issues The following issues don't produce specific error messages but are commonly encountered. ### Empty query results \*\*Cause:\*\* The query returns no data. \*\*Solution:\*\* 1. Verify the time range includes data in your database. 1...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/influxdb/troubleshooting/index.md
main
grafana
[ -0.03876390680670738, -0.024991434067487717, 0.04382680729031563, 0.06667906790971756, -0.049959998577833176, -0.07939770817756653, -0.0007076272158883512, -0.06392845511436462, -0.010314978659152985, 0.012381254695355892, -0.023925859481096268, -0.12224635481834412, 0.07888635247945786, -...
0.038157
# InfluxDB query editor Grafana's query editors are unique to each data source. For general information on Grafana query editors, refer to [Query editors](ref:query-editor). For general information on querying data sources in Grafana, refer to [Query and transform data](ref:query-transform-data). The InfluxDB query edi...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/influxdb/query-editor/index.md
main
grafana
[ -0.03201427683234215, 0.005733882077038288, -0.02180449105799198, 0.05819210037589073, -0.024288898333907127, -0.014538128860294819, -0.009906196035444736, -0.027979198843240738, 0.040164824575185776, 0.050485506653785706, -0.04833916202187538, -0.06394024193286896, 0.015515333041548729, -...
0.084256
tag, specify the tag in the \*\*GROUP BY\*\* row: 1. Click the \*\*+ sign\*\* in the GROUP BY row. 1. Select a tag from the drop-down. You can GROUP BY multiple options. To remove a GROUP BY option click the \*\*X icon\*\* next to the option. ### Alias patterns | Alias pattern | Replaced with | | ----------------- | --...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/influxdb/query-editor/index.md
main
grafana
[ -0.06986420601606369, 0.06616589426994324, -0.015289438888430595, 0.06131293997168541, 0.002527844160795212, -0.01540565025061369, 0.07782484591007233, -0.08682277053594589, 0.010841306298971176, -0.017556197941303253, 0.0009486762573942542, -0.013605604879558086, 0.032761771231889725, -0....
-0.051107
active time selection, such as `5s`. | | `v.defaultBucket` | The data source configuration's "Default Bucket" setting. | | `v.organization` | The data source configuration's "Organization" setting. | For example, consider the following Flux query: ```flux from(bucket: v.defaultBucket) |> range(start: v.timeRangeStart, ...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/influxdb/query-editor/index.md
main
grafana
[ -0.06104526296257973, 0.013889206573367119, 0.00900997593998909, 0.08401249349117279, 0.05033119022846222, -0.00816611759364605, 0.029861612245440483, 0.009609142318367958, 0.07517162710428238, 0.010610194876790047, -0.06421097368001938, -0.12867996096611023, 0.030673960223793983, -0.02387...
0.08969
# PostgreSQL data source Grafana includes a built-in PostgreSQL data source plugin, enabling you to query and visualize data from any PostgreSQL-compatible database. You don't need to install a plugin to add the PostgreSQL data source to your Grafana instance. Grafana offers several configuration options for this data ...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/postgres/_index.md
main
grafana
[ -0.04215901717543602, -0.029270362108945847, -0.1022111102938652, 0.02775747887790203, -0.11750350147485733, -0.011243126355111599, -0.021897146478295326, -0.01260889321565628, -0.0458906851708889, 0.033768560737371445, -0.03255493938922882, -0.058553650975227356, 0.0017060519894585013, -0...
0.040572
# Configure the PostgreSQL data source This document provides instructions for configuring the PostgreSQL data source and explains available configuration options. For general information on managing data sources refer to [Data source management](ref:data-source-management). ## Before you begin - You must have the `Org...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/postgres/configure/_index.md
main
grafana
[ -0.06043745204806328, -0.030861908569931984, -0.11348516494035721, 0.01358869019895792, -0.11074145883321762, -0.04298724606633186, -0.0300982054322958, -0.032925210893154144, -0.07892749458551407, 0.055659886449575424, -0.014144010841846466, -0.035163916647434235, -0.010997384786605835, -...
-0.002266
certificate by specifying their content. The content is stored and encrypted in the Grafana database. When connecting to the database, the certificates are saved as files, on the local filesystem, in the Grafana data path. | \*\*TLS/SSL Auth Details:\*\* If you select the TLS/SSL Mode options \*\*require\*\*, \*\*verif...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/postgres/configure/_index.md
main
grafana
[ -0.06284371018409729, 0.038712937384843826, -0.1425989419221878, 0.011367765255272388, -0.11020965129137039, -0.04808398336172104, -0.08821379393339157, -0.03469249606132507, 0.042484115809202194, -0.005834212526679039, -0.011490268632769585, -0.07394260168075562, 0.0849648267030716, 0.016...
-0.036353
find your PDC configuration details. After you have added your PostgreSQL connection settings, click \*\*Save & test\*\* to test and save the data source connection. ### Min time interval The \*\*Min time interval\*\* setting defines a lower limit for the [`$\_\_interval`](ref:add-template-variables-interval) and [`$\_...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/postgres/configure/_index.md
main
grafana
[ 0.01014347467571497, -0.05081253871321678, -0.06276894360780716, 0.07080525904893875, -0.07509433478116989, 0.02571038156747818, -0.09692005813121796, 0.017138265073299408, -0.024655848741531372, 0.00232366262935102, 0.006528502330183983, -0.08481445908546448, -0.05012493208050728, -0.0779...
-0.086663
# PostgreSQL query editor Grafana query editors are unique for each data source. For general information on Grafana query editors, refer to [Query editors](ref:query-editor). For general information on querying data sources in Grafana, refer to [Query and transform data](ref:query-transform-data). The PostgreSQL query ...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/postgres/query-editor/_index.md
main
grafana
[ -0.08501654118299484, 0.03378363326191902, -0.04970336705446243, 0.08288272470235825, -0.08786652237176895, 0.013402082957327366, -0.05564010888338089, 0.0027807909063994884, 0.016939224675297737, 0.038184937089681625, -0.02769981324672699, -0.0225495845079422, 0.05560721457004547, -0.1283...
0.029154
variables, and Grafana macros. Columns cannot be completed before a table has been specified. {{< figure src="/static/img/docs/v92/sql\_code\_editor.png" class="docs-image--no-shadow" >}} Select \*\*Table\*\* or \*\*Time Series\*\* as the format. Click the \*\*{}\*\* in the bottom right to format the query. Click the \...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/postgres/query-editor/_index.md
main
grafana
[ -0.056845493614673615, 0.05630660429596901, -0.017879001796245575, 0.1436333954334259, -0.06005227938294411, 0.03372016176581383, -0.030165333300828934, 0.06157354637980461, -0.03580346703529358, 0.06677898019552231, -0.01154214795678854, -0.11391652375459671, 0.05240315571427345, -0.06449...
-0.028065
as Unix timestamp. `fillMode` only works with time series queries. | | `$\_\_unixEpochGroupAlias(dateColumn,'5m', [fillmode])` | Same as `$\_\_timeGroup` but also adds a column alias. `fillMode` only works with time series queries. | ## Table SQL queries If the \*\*Format\*\* option is set to \*\*Table\*\*, you can exe...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/postgres/query-editor/_index.md
main
grafana
[ -0.0009558070451021194, -0.03382829576730728, -0.0567425861954689, 0.03978874161839485, -0.09058912098407745, 0.010720111429691315, 0.052620816975831985, 0.019943857565522194, 0.05308328568935394, 0.023918392136693, -0.04291737824678421, -0.044679608196020126, -0.00838390737771988, -0.0708...
-0.037018
Type: []float64 | Type: []float64 | +---------------------+---------------------------+---------------------------+ | 2020-01-02 03:05:00 | 3 | 4 | | 2020-01-02 03:10:00 | 6 | 7 | +---------------------+---------------------------+---------------------------+ ``` \*\*Example with multiple columns:\*\* ```sql SELECT $\_...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/postgres/query-editor/_index.md
main
grafana
[ 0.0533226877450943, 0.08213025331497192, -0.014504574239253998, 0.04537177085876465, -0.048842787742614746, -0.005063848569989204, 0.08369208127260208, 0.012464337982237339, 0.010214325040578842, 0.0015177498571574688, 0.05536709725856781, -0.17520685493946075, 0.009733813814818859, -0.034...
0.008615
hostname FROM my\_host WHERE hostname LIKE '$\_\_searchFilter' ``` ### Using Variables in Queries Template variable values are only quoted when the template variable is a `multi-value`. If the variable is a multi-value variable, use the `IN` comparison operator instead of `=` to match against multiple values. You can u...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/postgres/query-editor/_index.md
main
grafana
[ 0.020047107711434364, 0.0569317527115345, 0.04433898255228996, 0.03228752315044403, -0.034495096653699875, -0.02511211484670639, 0.10553647577762604, -0.03255109116435051, 0.0009534447453916073, 0.060336366295814514, -0.04022085666656494, -0.06943456083536148, 0.01956622488796711, 0.002654...
-0.018134
# Zipkin data source Grafana ships with built-in support for Zipkin, an open source, distributed tracing system. This topic explains configuration and queries specific to the Zipkin data source. For instructions on how to add a data source to Grafana, refer to the [administration documentation](ref:data-source-manageme...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/zipkin/_index.md
main
grafana
[ -0.1159975528717041, -0.014359519816935062, -0.0984300822019577, 0.048992618918418884, -0.03935658931732178, -0.10655864328145981, -0.04457421973347664, -0.016874385997653008, -0.036136601120233536, 0.0833098366856575, -0.02353816293179989, -0.03164989873766899, 0.04689084365963936, -0.010...
0.051818
data source from the drop-down list. You can also click \*\*Open advanced data source picker\*\* to see more options, including adding a data source. 1. Set start and end time shift. Since the logs timestamps may not exactly match the timestamps of the spans in the trace, you may need to widen or shift the time range t...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/zipkin/_index.md
main
grafana
[ -0.05264723300933838, 0.047869231551885605, 0.02336609736084938, 0.054918721318244934, 0.114261694252491, -0.09426110237836838, 0.07934950292110443, -0.03810678794980049, -0.01016913540661335, 0.020049728453159332, 0.026864131912589073, -0.03672632575035095, -0.0045889331959187984, -0.0578...
-0.035199
for the logs query, based on the span's end time. You can use time units. Default: `0`. | | \*\*Tags\*\* | Defines the tags to use in the logs query. Default: `cluster`, `hostname`, `namespace`, `pod`, `service.name`, `service.namespace`. You can change the tag name for example to remove dots from the name if they are ...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/zipkin/_index.md
main
grafana
[ 0.014525322243571281, -0.005385836120694876, -0.009945329278707504, 0.09788179397583008, -0.015331066213548183, -0.05651358887553215, 0.049416691064834595, -0.03687432408332825, -0.019521180540323257, 0.04109679162502289, 0.005148234777152538, -0.05527123808860779, 0.046910639852285385, -0...
0.126656
spanEndTimeShift: '-1h' tags: [{ key: 'service.name', value: 'service' }, { key: 'job' }] queries: - name: 'Sample query' query: 'sum(rate(traces\_spanmetrics\_latency\_bucket{$$\_\_tags}[5m]))' nodeGraph: enabled: true traceQuery: timeShiftEnabled: true spanStartTimeShift: '1h' spanEndTimeShift: '-1h' spanBar: type: '...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/zipkin/_index.md
main
grafana
[ -0.08856602758169174, 0.031461071223020554, -0.06823807209730148, 0.07448311150074005, -0.03246310353279114, -0.08560946583747864, 0.0003959530731663108, -0.047308966517448425, -0.01671726070344448, -0.0004499105561990291, -0.03668186813592911, -0.04544747248291969, 0.03169722855091095, -0...
0.040444
# Span filters When working with traces, especially those comprising a vast number of spans, pinpointing specific spans of interest can be a daunting task. This is where span filtering comes in. Located above the trace view, span filters allow you to refine the spans displayed based on specific criteria. Whether you’re...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/tempo/span-filters.md
main
grafana
[ -0.07226232439279556, -0.02705087512731552, -0.008548228070139885, -0.008313586004078388, 0.09441373497247696, -0.0024937777779996395, 0.049367256462574005, -0.09420593827962875, 0.0036632902920246124, -0.10638957470655441, -0.035931725054979324, -0.017496958374977112, -0.016562456265091896,...
-0.023881
# Configure a Tempo data source The Tempo data source sets how Grafana connects to your Tempo database and lets you configure features and integrations with other telemetry signals. You can configure the data source using either the data source interface in Grafana or using a configuration file. This page explains how ...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/tempo/configure-tempo-data-source.md
main
grafana
[ -0.0485035739839077, -0.06237461045384407, -0.08954597264528275, -0.014597124420106411, -0.08910486102104187, -0.0465267151594162, -0.058263275772333145, -0.053976915776729584, -0.03281080722808838, 0.02593054808676243, 0.031022226437926292, -0.11072701960802078, 0.019105451181530952, -0.0...
0.088066
results are displayed until all results have returned. To use streaming, you need to: - Run Tempo version 2.2 or later, or Grafana Enterprise Traces (GET) version 2.2 or later, or use Grafana Cloud Traces. - Tempo must have `stream\_over\_http\_enabled: true` for streaming to work. For more information, refer to [Tempo...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/tempo/configure-tempo-data-source.md
main
grafana
[ -0.033283933997154236, -0.01467855740338564, -0.0607188455760479, 0.03012707270681858, 0.003912684507668018, -0.032479822635650635, -0.0767049491405487, -0.09608350694179535, 0.0065967668779194355, -0.03062400408089161, 0.03408043459057808, -0.1021059975028038, -0.07606188952922821, -0.030...
0.03392
for the logs query, based on the span's start time. You can use time units, such as `5s`, `1m`, `3h`. To extend the time to the past, use a negative value. Default: `0`. | | \*\*Span end time shift\*\* | Shifts the end time for the logs query, based on the span's end time. You can use time units. Default: `0`. | | \*\*...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/tempo/configure-tempo-data-source.md
main
grafana
[ 0.01685544103384018, 0.03234018012881279, 0.0035469767171889544, 0.06460204720497131, 0.005562094505876303, -0.08913008123636246, 0.010714230127632618, -0.036032892763614655, 0.011821048334240913, 0.07699622958898544, 0.014275582507252693, -0.04061795771121979, 0.033893171697854996, -0.010...
0.084519
span attributes’ values. You can link to any metric you’d like, but metrics for span durations, counts, and errors filtered by service or span are a great starting point. To use custom queries with the configuration, follow these steps: 1. Select a metrics data source from the \*\*Data source\*\* drop-down. 1. Optional...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/tempo/configure-tempo-data-source.md
main
grafana
[ -0.010722930543124676, 0.004397247917950153, -0.016433950513601303, 0.07987233996391296, -0.004344395361840725, -0.01539068203419447, 0.0836273655295372, 0.0052412147633731365, -0.006535180378705263, -0.027183525264263153, 0.03627924621105194, -0.07653358578681946, 0.09212135523557663, -0....
0.096523
link is still created even if only one of those tags is present in the span. You can use this if all tags are not required for the query to be useful. | | \*\*\\_\\_span.spanId\*\* | The ID of the span. | | \*\*\\_\\_span.traceId\*\* | The ID of the trace. | | \*\*\\_\\_span.duration\*\* | The duration of the span. | |...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/tempo/configure-tempo-data-source.md
main
grafana
[ 0.019592851400375366, 0.02599051222205162, 0.019834870472550392, 0.08369805663824081, 0.11275260150432587, -0.031900856643915176, 0.0022468185052275658, -0.06425520032644272, -0.011381087824702263, 0.012276405468583107, 0.02225835621356964, -0.03106950968503952, 0.007968244142830372, -0.05...
-0.037561
| -------------------------------------------------------------------------------------------------------------------------------- | | \*\*None\*\* | Adds nothing to the span bar row. | | \*\*Duration\*\* | \_(Default)\_ Displays the span duration on the span bar row. | | \*\*Tag\*\* | Displays the span tag on the span...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/tempo/configure-tempo-data-source.md
main
grafana
[ -0.04552165046334267, 0.0946415513753891, -0.03696722164750099, 0.09235367178916931, 0.04032578691840172, 0.046463288366794586, -0.013678604736924171, 0.030905326828360558, 0.065606988966465, -0.01941544935107231, 0.02884410135447979, -0.07442265003919601, 0.02165878936648369, -0.049720495...
-0.045656
token into the Password field, and changing any of the other options that you want, you can save and test the data source.
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/tempo/configure-tempo-data-source.md
main
grafana
[ -0.026915544643998146, -0.007821882143616676, -0.09710472822189331, 0.01741192117333412, -0.028919298201799393, 0.031153235584497452, -0.027158012613654137, -0.011694982647895813, 0.00799767766147852, 0.0198627021163702, -0.012000227347016335, -0.016469603404402733, 0.07136732339859009, -0...
-0.015175
# Service Graph and Service Graph view The Service Graph is a visual representation of the relationships between services. Each node on the graph represents a service such as an API or database. You use the Service Graph to detect performance issues; track increases in error, fault, or throttle rates in services; and i...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/tempo/service-graph.md
main
grafana
[ -0.1440405398607254, 0.02388383075594902, -0.04626384750008583, 0.039588429033756256, -0.000059271853388054296, -0.05867418646812439, -0.039863694459199905, -0.012065784074366093, -0.02389305830001831, 0.0026619380805641413, -0.007528035901486874, -0.05167190730571747, 0.050929825752973557, ...
0.178801
# Tempo data source Grafana ships with built-in support for [Tempo](https://grafana.com/docs/tempo//), a high-volume, minimal-dependency trace storage, open source tracing solution from Grafana Labs. To learn more about traces, refer to [Introduction to tracing](https://grafana.com/docs/tempo//introduction/). To use tr...
https://github.com/grafana/grafana/blob/main//docs/sources/datasources/tempo/_index.md
main
grafana
[ -0.08918790519237518, -0.06080184876918793, -0.08025868237018585, 0.03311815485358238, -0.0345744788646698, -0.0492297038435936, -0.03808247298002243, -0.03392701596021652, -0.03388335555791855, 0.033683255314826965, 0.01495928131043911, -0.0832303985953331, -0.015161781571805477, -0.05104...
0.159088