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
# Frontend Settings API ## Get Settings `GET /api/frontend/settings` \*\*Example Request\*\*: ```http GET /api/frontend/settings HTTP/1.1 Accept: application/json Content-Type: application/json Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk ``` \*\*Example Response\*\*: ```http HTTP/1.1 200 Co...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/http-api/other.md
main
grafana
[ -0.052061907947063446, 0.03957945108413696, -0.03844032809138298, 0.029746711254119873, -0.037956442683935165, -0.04455758258700371, -0.07982593774795532, 0.01785837486386299, -0.02718680538237095, 0.04303142428398132, 0.009625162929296494, -0.06982694566249847, 0.014838657341897488, -0.01...
-0.02134
# Secrets Management API > If you are running Grafana Enterprise, you need to have specific permissions for some endpoints . Refer to [Role-based access control permissions](ref:rbac-permissions) for more information. > To view more about the new API structure, refer to [API overview](ref:api-overview). {{< admonition ...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/http-api/secrets_management.md
main
grafana
[ -0.0938236191868782, 0.004264740739017725, -0.15827548503875732, -0.011495282873511314, -0.031335990875959396, -0.05180675536394119, -0.027845246717333794, -0.049100279808044434, 0.0006141610792838037, 0.07010667771100998, -0.021366195753216743, -0.033727340400218964, 0.005987364798784256, ...
0.08902
- \*\*403\*\* – Access denied ## Get a secure value `GET /apis/secret.grafana.app/v1beta1/namespaces/:namespace/securevalues/:name` Get the details of a specific secure value. It will not return the secret value. \*\*URL parameters\*\* - `namespace`: To read more about which namespace to use, see the [API overview](ref...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/http-api/secrets_management.md
main
grafana
[ -0.14170566201210022, 0.10785114020109177, -0.16196157038211823, 0.02803591825067997, -0.04360489547252655, -0.07663214206695557, -0.006932786200195551, -0.04160536453127861, 0.006942190695554018, 0.021992497146129608, 0.013023562729358673, -0.0751158595085144, 0.005996834021061659, 0.0140...
0.024764
# Data Source Permissions API > The Data Source Permissions is only available in Grafana Enterprise. Read more about [Grafana Enterprise](/docs/grafana/latest/introduction/grafana-enterprise/). > If you are running Grafana Enterprise, for some endpoints you'll need to have specific permissions. Refer to [Role-based acc...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/http-api/datasource_permissions.md
main
grafana
[ -0.08489317446947098, -0.01576165296137333, -0.12008674442768097, 0.010022100061178207, -0.08536829799413681, -0.06325305998325348, 0.003893726971000433, -0.03897470608353615, -0.02877059578895569, 0.02050808258354664, -0.007516372017562389, -0.046229541301727295, -0.01089420635253191, 0.0...
0.108275
revoke access to a data source for a team `POST /api/access-control/datasources/:uid/teams/:id` Sets team permission for the data source with the given `uid`. Append `?ds\_type=` when you need to disambiguate the UID; refer to [Optional `ds\_type` query parameter](#ds-type). To add a permission, set the `permission` fi...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/http-api/datasource_permissions.md
main
grafana
[ -0.09376732259988785, 0.09154746681451797, -0.03148915246129036, 0.06800802052021027, -0.07996159046888351, -0.037393491715192795, 0.04715306684374809, -0.06230561062693596, 0.018476534634828568, 0.02855381928384304, -0.021492158994078636, -0.018440285697579384, 0.0004114762123208493, 0.00...
0.027086
# User and Org Preferences API Keys: - \*\*theme\*\* - One of: `light`, `dark`, or an empty string for the default theme - \*\*homeDashboardId\*\* - Deprecated. Use `homeDashboardUID` instead. - \*\*homeDashboardUID\*\*: The `:uid` of a dashboard - \*\*timezone\*\* - Any valid IANA timezone string (e.g., `America/New\_...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/http-api/preferences.md
main
grafana
[ 0.043656766414642334, 0.04933633655309677, -0.018362417817115784, -0.01845552772283554, 0.023624354973435402, 0.0165936928242445, -0.0013571165036410093, 0.022489270195364952, -0.009199111722409725, 0.0024448162876069546, -0.062485579401254654, -0.04813084006309509, -0.01371729001402855, -...
-0.026726
# Resource History HTTP API {{< admonition type="note" >}} Resource history is available on all stable (GA) API versions (for example, `v1`, `v2`). Alpha or beta versions may not support it. {{< /admonition >}} The new Grafana APIs track version history for resources. You can retrieve the history of any resource by usi...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/http-api/resource-history.md
main
grafana
[ -0.1465495079755783, 0.028607171028852463, -0.09239280223846436, 0.012286892160773277, -0.008426844142377377, -0.0201377235352993, -0.06856489181518555, -0.06867187470197678, -0.010673337616026402, 0.01603970304131508, -0.041033484041690826, -0.012347519397735596, -0.012295201420783997, 0....
0.064749
the `resourceVersion` query parameter set to the `metadata.resourceVersion` from the history list. \*\*Example request\*\*: ```http GET /apis/dashboard.grafana.app/v1/namespaces/default/dashboards/production-overview?resourceVersion=1758777451428100 HTTP/1.1 Accept: application/json Content-Type: application/json Autho...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/http-api/resource-history.md
main
grafana
[ -0.11589900404214859, 0.0944061353802681, -0.08838200569152832, -0.01794492080807686, 0.010299364104866982, -0.04364684596657753, -0.10689909756183624, -0.06598185747861862, 0.0025759523268789053, 0.0366922952234745, -0.020289063453674316, -0.0327795073390007, 0.012268144637346268, 0.03388...
0.046069
# Team API This API can be used to manage Teams and Team Memberships. Access to these API endpoints is restricted as follows: - All authenticated users are able to view details of teams they are a member of. - Organization Admins are able to manage all teams and team members. > If you are running Grafana Enterprise, fo...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/http-api/team.md
main
grafana
[ -0.07087096571922302, 0.007866648025810719, -0.12457098066806793, 0.031671538949012756, -0.015158871188759804, 0.012480460107326508, -0.05467256158590317, -0.027028623968362808, 0.02042975090444088, -0.009226181544363499, -0.026235947385430336, -0.030578037723898888, 0.07602215558290482, 0...
0.071874
permissions\*\* See note in the [introduction](#team-api) for an explanation. | Action | Scope | | ----------- | -------- | | teams:write | teams:\\* | \*\*Example Request\*\*: ```http PUT /api/teams/2 HTTP/1.1 Accept: application/json Content-Type: application/json Authorization: Bearer glsa\_iNValIdinValiDinvalidinva...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/http-api/team.md
main
grafana
[ -0.09296929836273193, 0.05892398953437805, -0.08159775286912918, 0.005266662687063217, -0.01714072749018669, -0.06144752353429794, -0.022852186113595963, -0.0373125895857811, 0.054274458438158035, 0.03501255810260773, 0.00914103165268898, -0.032022323459386826, 0.05598077178001404, 0.11247...
0.037628
## Get Team Preferences `GET /api/teams/:teamId/preferences` \*\*Required permissions\*\* See note in the [introduction](#team-api) for an explanation. | Action | Scope | | ---------- | -------- | | teams:read | teams:\\* | \*\*Example Request\*\*: ```http GET /api/teams/2/preferences HTTP/1.1 Accept: application/json ...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/http-api/team.md
main
grafana
[ -0.019749900326132774, 0.059129711240530014, -0.05714371055364609, -0.005888123065233231, 0.009028404951095581, -0.03845779225230217, -0.03176911920309067, -0.018817316740751266, 0.01648242399096489, 0.011042246595025063, -0.0048190634697675705, -0.006854282226413488, -0.011108151637017727, ...
0.029543
# Dashboard Permissions API This API can be used to update/get the permissions for a dashboard. Permissions with `dashboardId=-1` are the default permissions for users with the Viewer and Editor roles. Permissions can be set for a user, a team or a role (Viewer or Editor). Permissions cannot be set for Admins - they al...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/http-api/dashboard_permissions.md
main
grafana
[ -0.07448771595954895, 0.00717597221955657, -0.11888474971055984, -0.019441725686192513, -0.037942249327898026, -0.022765450179576874, -0.03377896919846535, -0.002513669664040208, -0.017064658924937248, 0.05029886215925217, -0.036999110132455826, -0.05938884988427162, 0.009170472621917725, ...
0.064827
# New Folders APIs > If you are running Grafana Enterprise, for some endpoints you'll need to have specific permissions. Refer to [Role-based access control permissions](/docs/grafana/latest/administration/roles-and-permissions/access-control/custom-role-actions-scopes/) for more information. > To view more about the n...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/http-api/folder.md
main
grafana
[ -0.047440607100725174, -0.04293181747198105, -0.1348400115966797, -0.019367065280675888, -0.04116297885775566, -0.040739089250564575, -0.055095501244068146, -0.0007470529526472092, -0.006593774072825909, 0.04309658333659172, 0.002572873840108514, -0.055134255439043045, 0.03190256282687187, ...
0.051131
for an explanation. `folders:create` allows creating folders and subfolders. If granted with scope `folders:uid:general`, allows creating root level folders. Otherwise, allows creating subfolders under the specified folders. | Action | Scope | | ---------------- | ----------- | | `folders:create` | `folders:\*` | | `fo...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/http-api/folder.md
main
grafana
[ -0.13983877003192902, -0.037165265530347824, -0.13015684485435486, 0.04776926338672638, -0.04105537757277489, -0.07164758443832397, -0.04413455352187157, 0.04875257611274719, 0.0555817149579525, 0.050607599318027496, 0.051033128052949905, -0.020409638062119484, 0.022920828312635422, 0.0577...
0.093005
– Folder not found - \*\*412\*\* – Precondition failed (the folder has been changed by someone else). With this status code, the response body will have the following properties: ```http HTTP/1.1 412 Precondition Failed Content-Type: application/json; charset=UTF-8 Content-Length: 97 { "message": "The folder has been c...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/http-api/folder.md
main
grafana
[ -0.14319945871829987, 0.022790221497416496, -0.04577798396348953, 0.015194420702755451, -0.002434877911582589, -0.10512863099575043, -0.0016750788781791925, -0.0920587107539177, 0.09845416247844696, 0.03797063231468201, 0.06728843599557877, -0.047887854278087616, 0.02858646586537361, 0.082...
0.10227
# Grafana HTTP API reference Every Grafana instance exposes an HTTP API, which is the same API used by the Grafana frontend to manage resources like saving dashboards, creating users, updating data sources, deleting alerts, and more. You can use the HTTP API to programmatically access or manage resources from your Graf...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/http-api/_index.md
main
grafana
[ -0.12769965827465057, 0.028029300272464752, -0.10632313787937164, 0.0372326523065567, -0.014292052015662193, -0.10010306537151337, -0.12600144743919373, -0.031072411686182022, 0.030830619856715202, 0.032000355422496796, 0.009856624528765678, -0.04077846184372902, 0.03439159691333771, 0.015...
0.081459
# Query history API This API can be used to add queries to Query history. It requires that the user is logged in and that Query history feature is enabled in config file. ## Add query to Query history `POST /api/query-history` Adds query to query history. \*\*Example request:\*\* ```http POST /api/query-history HTTP/1....
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/http-api/query_history.md
main
grafana
[ -0.07438132166862488, 0.06751242280006409, -0.077463299036026, 0.03511497750878334, -0.03192225843667984, 0.047560643404722214, -0.051589787006378174, 0.00971384346485138, 0.040774062275886536, 0.05472792312502861, -0.048263415694236755, -0.034209247678518295, 0.023583484813570976, 0.01105...
0.006137
Query history by UID `PATCH /api/query-history/:uid` Updates comment of a query with a specific uid that is stored in the query history. Query parameters: - \*\*comment\*\* – New comment that will be added to the specified query. \*\*Example Request\*\*: ```http PATCH /api/query-history/P8zM2I1nz HTTP/1.1 Accept: appli...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/http-api/query_history.md
main
grafana
[ -0.13196948170661926, 0.018043095245957375, 0.012479224242269993, 0.053494080901145935, -0.08097893744707108, -0.03279518708586693, 0.018807008862495422, -0.006575659848749638, 0.0033761109225451946, 0.06442742049694061, 0.01743066869676113, -0.05098289996385574, 0.030735423788428307, 0.02...
0.057349
# Query and resource caching API {{< admonition type="note" >}} If you are running Grafana Enterprise, for some endpoints you'll need to have specific permissions. Refer to [Role-based access control permissions](/docs/grafana/latest/administration/roles-and-permissions/access-control/custom-role-actions-scopes/) for m...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/http-api/query_and_resource_caching.md
main
grafana
[ -0.08242201805114746, 0.046271562576293945, -0.10579608380794525, 0.03212355822324753, -0.10107488930225372, -0.09236271679401398, -0.004971764050424099, -0.04042248800396919, -0.054027967154979706, 0.042835306376218796, -0.02550804615020752, -0.03145652636885643, -0.015685386955738068, -0...
0.041552
| boolean | Whether or not to enable caching for this data source. | | useDefaultTTL | boolean | Whether the configured default TTL (Time-To-Live) should be used for both query and resource caching, instead of the user-specified values. | | ttlQueriesMs | number | The TTL to use for query caching, in milliseconds. | | ...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/http-api/query_and_resource_caching.md
main
grafana
[ -0.020266441628336906, 0.040394797921180725, -0.04025857150554657, 0.048041243106126785, -0.09848541021347046, -0.07322046160697937, 0.012205470353364944, -0.007977263070642948, 0.037014201283454895, 0.02513897605240345, 0.0008245666977018118, -0.024167116731405258, -0.008414674550294876, ...
-0.021574
# cURL examples This page provides examples of calls to the Grafana API using cURL. The most basic example for a dashboard for which there is no authentication. You can test the following on your local machine, assuming a default installation and anonymous access enabled, required: ``` curl http://localhost:3000/api/se...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/http-api/examples/curl-examples.md
main
grafana
[ -0.1095692589879036, 0.041345395147800446, -0.15146179497241974, -0.027161018922924995, -0.0663977563381195, -0.05195837467908859, -0.05169856175780296, 0.0076835318468511105, -0.02645397186279297, 0.02860187739133835, -0.025364086031913757, -0.05834270268678665, 0.046178270131349564, 0.01...
0.050928
# Create Service Account tokens and dashboards for an organization Use the Grafana API to set up new Grafana organizations or to add dynamically generated dashboards to an existing organization. ## Authentication There are two authentication methods to access the API: - Basic authentication: A Grafana Admin user can ac...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/http-api/examples/create-api-tokens-for-org.md
main
grafana
[ -0.15055470168590546, -0.03973971679806709, -0.15843206644058228, -0.02365846373140812, -0.10586235672235489, -0.0718500018119812, -0.026879819110035896, 0.01706165261566639, 0.01199663057923317, 0.05663997679948807, -0.024823535233736038, -0.0668078288435936, 0.05654739588499069, 0.031678...
0.124017
# Grafana Cloud API The Grafana Cloud API, sometimes referred to as the Grafana.com API or GCOM API, allows you to interact with resources from your [Grafana Cloud Stack](/docs/grafana-cloud/account-management/cloud-stacks/) programmatically. Below is the list of approved, static endpoints and calls for general use. An...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/cloud-api/_index.md
main
grafana
[ -0.14071877300739288, 0.0028110540006309748, -0.08485183119773865, 0.012248490937054157, -0.036316122859716415, -0.05764421820640564, -0.03620058670639992, -0.03433722257614136, 0.03486194834113121, 0.06131763011217117, -0.022096138447523117, -0.02980434149503708, 0.025867121294140816, -0....
0.056585
realm. Can be `org` or `stack`. | Yes | | `identifier` | String | The unique identifier of a realm (ID of the org or stack depending on the realm type). | Yes | | `labelPolicies` | List[LabelPolicy] | List of [label policies](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/acces...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/cloud-api/_index.md
main
grafana
[ -0.0543377660214901, 0.01474962942302227, -0.1716405749320984, -0.03199726343154907, -0.0523928739130497, -0.014593481086194515, 0.012361478060483932, -0.06883317977190018, 0.036965154111385345, 0.007786687929183245, 0.005929590668529272, -0.11761464923620224, 0.04010732099413872, 0.017655...
0.07426
["192.168.0.0/24", "10.1.2.99/32"] }, "createdAt": "2022-06-08T16:47:46.151Z", "updatedAt": "2022-06-08T16:47:46.151Z", "status": "active" } ], "metadata": { "pagination": { "pageSize": 500, "pageCursor": "ZDMyYzZhODktZjU1ZC00NGViLWJmYWEtMTEyYmE2NTFlNDJifDIwMjItMDQtMTFUMTI6NTQ6MDBa", "nextPage": "/v1/accesspolicies?pag...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/cloud-api/_index.md
main
grafana
[ -0.041496213525533676, 0.11346370726823807, -0.02205318957567215, -0.026339294388890266, -0.031640276312828064, 0.0011309402761980891, 0.022045573219656944, -0.03541871905326843, -0.027324937283992767, 0.02803778275847435, 0.037135880440473557, -0.02226097695529461, 0.013139931485056877, -...
-0.020338
or stack depending on the realm type). | Yes | | `labelPolicies` | List[LabelPolicy] | List of [label policies](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/#labelpolicy-or-label-selectors). Available only with read permissions for metrics and logs. | No | \*\...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/cloud-api/_index.md
main
grafana
[ -0.07843414694070816, 0.01479537133127451, -0.1529688835144043, -0.019765758886933327, -0.07398238033056259, 0.005112525075674057, 0.020047932863235474, -0.05584137141704559, 0.019715098664164543, -0.01177929900586605, 0.02522920072078705, -0.09282185137271881, 0.01833689957857132, 0.02866...
0.065036
| ID of the access policy to create the token for. | Yes | | `expiresAt` | String | Token expiration date. The token does not expire if this is not provided. | No | Example request: ```json { "accessPolicyId": "c45485b6-8321-4cf2-bcec-12006df755ff", "name": "mytoken", "displayName": "My Token", "expiresAt": "2022-06-08...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/cloud-api/_index.md
main
grafana
[ -0.09264325350522995, 0.08549866080284119, -0.02739480324089527, 0.06166740879416466, -0.060320205986499786, -0.01913074031472206, 0.013771089725196362, 0.031530704349279404, 0.05150419846177101, 0.0034643961116671562, 0.009168594144284725, -0.026106087490916252, 0.03379853069782257, -0.01...
0.082288
Type | Description | Required | | --------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | | `region` | String | Query. Region of the Access Policy,...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/cloud-api/_index.md
main
grafana
[ 0.060604847967624664, 0.08619698137044907, -0.0417499877512455, 0.015336606651544571, -0.10348805040121078, 0.020830977708101273, 0.06738574802875519, -0.011499210260808468, -0.04459669068455696, -0.031816981732845306, 0.023406168445944786, -0.07101711630821228, 0.056362640112638474, -0.06...
0.016832
to support](/contact/) about a Grafana Cloud contracted plan if you would like to add additional stacks to your account. {{< /admonition >}} ### List stacks ```http GET https://grafana.com/api/orgs//instances ``` #### Responses The following responses may be returned. | Code | Description | | ----- | ------------------...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/cloud-api/_index.md
main
grafana
[ -0.16324971616268158, 0.033800240606069565, -0.06224973499774933, 0.00618096673861146, -0.049762628972530365, -0.06932223588228226, -0.07903289049863815, -0.03073125332593918, 0.04090625047683716, 0.04577529802918434, 0.009959057904779911, -0.06721722334623337, -0.013098454102873802, -0.01...
0.037907
For example, `.grafana.net`. | Yes | | `slug` | String | Subdomain that the Grafana instance to make the instance available at. For example, if you set the slug to ``, the full URL for the instance is `https://.grafana.net`. | Yes | | `url` | String | If you use a custom domain for the instance, you must provide it her...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/cloud-api/_index.md
main
grafana
[ -0.04632142558693886, -0.06962352991104126, -0.05712801218032837, -0.06551442295312881, -0.07781984657049179, -0.10414080321788788, -0.13021822273731232, -0.026110749691724777, -0.01521566603332758, -0.019666451960802078, -0.04188469424843788, -0.0962982028722763, -0.011751971207559109, 0....
0.009529
the stack. | No | | `labels` | map[String]String | Updates labels for a stack. Labels are `key:value` pairs where the both the key and value can alphanumeric, `.`, `-` or `/`. Up to 10 labels are allowed. To remove a label, just omit it in this request. To remove all labels send an empty object. Example: `{"team":"plat...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/cloud-api/_index.md
main
grafana
[ -0.1163850873708725, 0.014280126430094242, -0.07722615450620651, 0.02695677988231182, -0.018511902540922165, 0.0033114803954958916, 0.009788106195628643, -0.08314497023820877, 0.049983102828264236, -0.03919070214033127, 0.03415907919406891, -0.02988959103822708, -0.00313737615942955, -0.04...
0.060876
v9.3.x)", "machineLearning": 0, "incident": 0, "deleteProtection": false, "hmInstancePromId": 715517, "hmInstancePromUrl": "https://prometheus-us-central1.grafana.net", "hmInstancePromName": "createcloudstack-prom", "hmInstancePromStatus": "active", "hmInstancePromCurrentUsage": 0, "hmInstancePromCurrentActiveSeries": ...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/cloud-api/_index.md
main
grafana
[ -0.1329619139432907, -0.004993818700313568, -0.020341919735074043, -0.06225128844380379, 0.06769561767578125, -0.1183711364865303, 0.0016582899261265993, -0.08083977550268173, -0.029194341972470284, 0.09195854514837265, 0.06847231090068817, -0.05425649881362915, 0.025199782103300095, -0.01...
0.097801
following responses may be returned. | Code | Description | | ----- | ---------------------------------------------------------------- | | `200` | Successful operation. | | `401` | API token is missing or invalid. | | `404` | Cloud Stack not found. | | `409` | Conflicting operation, another operation is already in prog...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/cloud-api/_index.md
main
grafana
[ -0.10709977895021439, -0.011049359105527401, 0.0008389551076106727, 0.02056817337870598, -0.05520929768681526, -0.07471992820501328, -0.10307417064905167, -0.05600776523351669, 0.08449568599462509, 0.05030648410320282, 0.05976841226220131, -0.06238071620464325, -0.003057243535295129, -0.02...
0.004504
`200` | Successful operation. | | `401` | API token is missing or invalid. | | `404` | Plugin or Cloud Stack not found. | | `409` | Conflicting operation, another operation is already in progress. | Example response: ```json { "id": 256519, "instanceId": 507363, "instanceUrl": "https://createcloudstack.grafana.net", "i...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/cloud-api/_index.md
main
grafana
[ -0.1157015785574913, -0.04964336007833481, -0.014280402101576328, -0.026011422276496887, -0.034201815724372864, -0.08055887371301651, -0.10948815941810608, -0.05215170606970787, 0.09173542261123657, 0.09680518507957458, 0.05247696861624718, -0.05984034389257431, -0.005004049278795719, -0.0...
0.011995
| Description | | ----- | -------------------------------- | | `200` | Successful operation. | | `401` | API token is missing or invalid. | | `404` | API Key not found. | Example response: ```json true ``` ## Billed usage This API makes it possible to fetch billed usage broken down by stack for a specified year and mon...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/api-reference/cloud-api/_index.md
main
grafana
[ -0.08555632829666138, 0.021741654723882675, -0.07833854854106903, 0.04159967228770256, -0.11240594834089279, -0.054279059171676636, -0.12746118009090424, 0.010358802042901516, 0.011946642771363258, 0.0012375029036775231, 0.04860493540763855, -0.08552107214927673, 0.027125753462314606, -0.0...
0.039653
# Grafana Labs Software Grant and Contributor License Agreement ("Agreement") This agreement is based on the Apache Software Foundation Contributor License Agreement. (v r190612) Thank you for your interest in software projects stewarded by Raintank, Inc. dba Grafana Labs (β€œGrafana Labs”). In order to clarify the intel...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/contribute/cla.md
main
grafana
[ -0.13126401603221893, -0.01682671532034874, -0.04877433925867081, -0.0936783030629158, -0.05219065770506859, -0.021365759894251823, -0.019743718206882477, -0.03429039940237999, 0.011322874575853348, 0.006437601987272501, -0.012179587967693806, -0.06360817700624466, -0.0003464897454250604, ...
0.069228
sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by You that are necessarily infringed by Your Contribution(s) alone or by combination of Your Contribution(s) with the Work to which such Contribution(s) were submitted. If any entity institutes patent...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/contribute/cla.md
main
grafana
[ -0.11823064088821411, -0.03923822566866875, 0.0048470450565218925, -0.10827329009771347, 0.04522860050201416, 0.05962133780121803, 0.024982092902064323, 0.015531105920672417, -0.025258658453822136, 0.0011244788765907288, -0.006456615403294563, 0.004036869388073683, -0.02223951928317547, -0...
0.046457
# Contribute to Grafana This page lists resources for developers who want to contribute to the Grafana software ecosystem or build plugins for Grafana. ## Make technical contributions Choose how you want to contribute to Grafana, from code to plugins to community support. ### Contribute code to Grafana - [Contributing ...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/contribute/_index.md
main
grafana
[ -0.12007246911525726, -0.0638839527964592, -0.09033232182264328, -0.00868441816419363, -0.03222649171948433, -0.03272857889533043, -0.049293309450149536, 0.03007120080292225, -0.09161073714494705, 0.04341259226202965, -0.0386749766767025, -0.10760248452425003, -0.009890385903418064, -0.007...
0.111431
# Developer tools in Grafana Refer to the [Grafana developer portal](https://grafana.com/developers) to access the following documentation: - [Grafana plugin development tools](https://grafana.com/developers/plugin-tools) - [Grafana data structure](https://grafana.com/developers/dataplane/) - [Grafana React components ...
https://github.com/grafana/grafana/blob/main//docs/sources/developer-resources/developer-tools/_index.md
main
grafana
[ -0.11780627071857452, -0.08352620154619217, -0.04153129458427429, 0.0567387118935585, -0.05864933878183365, -0.018461843952536583, -0.03913622349500656, 0.0069357710890471935, -0.032102037221193314, 0.03592487424612045, -0.021343788132071495, -0.0366535484790802, 0.011057543568313122, 0.02...
0.112928
## The command you just ran Congratulations! You have started the container for this tutorial! Let's first explain the command that you just ran. In case you forgot, here's the command: ```cli docker run -d -p 80:80 docker/getting-started ``` You'll notice a few flags being used. Here's some more info on them: - `-d` -...
https://github.com/docker/getting-started/blob/master//docs/tutorial/index.md
master
docker
[ 0.026230240240693092, 0.09984724968671799, 0.029233651235699654, -0.04007228463888168, 0.06504921615123749, -0.07080540060997009, 0.012809323146939278, 0.049272507429122925, -0.0279803778976202, 0.030069684609770775, 0.03822453320026398, -0.06992502510547638, 0.03397338464856148, 0.0190716...
0.000384
[Docker Compose](https://docs.docker.com/compose/) is a tool that was developed to help define and share multi-container applications. With Compose, we can create a YAML file to define the services and with a single command, can spin everything up or tear it all down. The \_big\_ advantage of using Compose is you can d...
https://github.com/docker/getting-started/blob/master//docs/tutorial/using-docker-compose/index.md
master
docker
[ -0.08493807166814804, -0.050937000662088394, 0.018317991867661476, -0.04751826450228691, -0.07300496846437454, -0.07610928267240524, -0.030170712620019913, 0.032805249094963074, 0.027071982622146606, 0.030768539756536484, -0.05387858673930168, -0.010565963573753834, 0.08296959847211838, -0...
0.109285
### Defining the MySQL Service Now, it's time to define the MySQL service. The command that we used for that container was the following: ```bash docker run -d \ --network todo-app --network-alias mysql \ -v todo-mysql-data:/var/lib/mysql \ -e MYSQL\_ROOT\_PASSWORD=secret \ -e MYSQL\_DATABASE=todos \ mysql:8.0 ``` 1. W...
https://github.com/docker/getting-started/blob/master//docs/tutorial/using-docker-compose/index.md
master
docker
[ 0.013067569583654404, -0.05199796333909035, 0.0223308727145195, -0.05613572895526886, -0.10048037022352219, -0.0637756884098053, 0.05019744858145714, 0.09253793209791183, 0.07467497140169144, 0.0070377858355641365, -0.059401512145996094, -0.06945554167032242, 0.13503701984882355, 0.0428674...
-0.006945
-f app`). !!! info "Pro tip - Waiting for the DB before starting the app" When the app is starting up, it actually sits and waits for MySQL to be up and ready before trying to connect to it. Docker doesn't have any built-in support to wait for another container to be fully up, running, and ready before starting another...
https://github.com/docker/getting-started/blob/master//docs/tutorial/using-docker-compose/index.md
master
docker
[ -0.0014892341569066048, -0.057906124740839005, -0.03609244525432587, -0.0191344004124403, 0.034201156347990036, -0.05963314324617386, -0.029671747237443924, 0.06493557244539261, 0.03736322745680809, 0.048191919922828674, -0.04010685160756111, -0.10126760601997375, 0.039063841104507446, -0....
0.02548
As a small feature request, we've been asked by the product team to change the "empty text" when we don't have any todo list items. They would like to transition it to the following: > You have no todo items yet! Add one above! Pretty simple, right? Let's make the change. ## Updating our Source Code 1. In the `src/stat...
https://github.com/docker/getting-started/blob/master//docs/tutorial/updating-our-app/index.md
master
docker
[ -0.017690401524305344, 0.057687584310770035, 0.022187471389770508, -0.012387794442474842, 0.07289555668830872, -0.036044247448444366, 0.003657880937680602, 0.04804952070116997, 0.04912063106894493, 0.01038335356861353, 0.0007985681295394897, -0.07237009704113007, -0.028046127408742905, -0....
0.015574
In an upcoming section, we'll talk about how to see code updates without needing to rebuild and start a new container every time we make a change. Before talking about persistence, we'll quickly see how to share these images with others.
https://github.com/docker/getting-started/blob/master//docs/tutorial/updating-our-app/index.md
master
docker
[ -0.0625743493437767, -0.031659387052059174, -0.042464155703783035, 0.04881319776177406, 0.1027599647641182, -0.002285705180838704, -0.06993579864501953, -0.004585081245750189, -0.024455107748508453, 0.0003883659665007144, 0.021297559142112732, 0.04540399834513664, -0.036866988986730576, -0...
0.106503
Now that we've built an image, let's share it! To share Docker images, you have to use a Docker registry. The default registry is Docker Hub and is where all of the images we've used have come from. ## Create a Repo To push an image, we first need to create a repo on Docker Hub. 1. Go to [Docker Hub](https://hub.docker...
https://github.com/docker/getting-started/blob/master//docs/tutorial/sharing-our-app/index.md
master
docker
[ -0.023331264033913612, -0.04555826634168625, -0.005005881190299988, 0.022316034883260727, 0.042016174644231796, 0.0028059547767043114, -0.0711195096373558, 0.01389289740473032, -0.042748771607875824, 0.07210156321525574, 0.0055017052218317986, -0.04390435293316841, 0.0466749332845211, 0.05...
-0.042218
pushed image. This is quite common in CI pipelines, where the pipeline will create the image and push it to a registry and then the production environment can use the latest version of the image. Now that we have that figured out, let's circle back around to what we noticed at the end of the last section. As a reminder...
https://github.com/docker/getting-started/blob/master//docs/tutorial/sharing-our-app/index.md
master
docker
[ -0.008557192049920559, -0.007666946854442358, 0.047666553407907486, 0.052770864218473434, 0.09038589894771576, -0.03829839453101158, -0.02800149843096733, 0.032394081354141235, 0.00737802404910326, 0.03292469307780266, 0.03515361249446869, 0.011585731990635395, -0.03134568780660629, 0.0472...
0.039014
In the previous chapter, we talked about and used a \*\*named volume\*\* to persist the data in our database. Named volumes are great if we simply want to store data, as we don't have to worry about \_where\_ the data is stored. With \*\*bind mounts\*\*, we control the exact mountpoint on the host. We can use this to p...
https://github.com/docker/getting-started/blob/master//docs/tutorial/using-bind-mounts/index.md
master
docker
[ -0.030998842790722847, -0.018385522067546844, 0.004593206103891134, 0.04111713916063309, 0.0010844587814062834, -0.05188198760151863, -0.029599040746688843, 0.054491281509399414, 0.06343551725149155, 0.052004117518663406, -0.04706712067127228, 0.029678381979465485, 0.032838642597198486, -0...
0.170918
watch the logs using `docker logs -f `. You'll know you're ready to go when you see this... ```bash docker logs -f $ nodemon src/index.js [nodemon] 2.0.20 [nodemon] to restart at any time, enter `rs` [nodemon] watching path(s): \*.\* [nodemon] watching extensions: js,mjs,json [nodemon] starting `node src/index.js` Usin...
https://github.com/docker/getting-started/blob/master//docs/tutorial/using-bind-mounts/index.md
master
docker
[ 0.004035585559904575, -0.012237131595611572, 0.02607228048145771, -0.0004787026846315712, 0.1304735690355301, -0.0727214515209198, -0.046760160475969315, 0.02224041521549225, -0.015516349114477634, 0.08166807144880295, -0.0663822591304779, -0.02756798081099987, -0.04923047870397568, 0.0308...
0.08748
## Security Scanning When you have built an image, it is good practice to scan it for security vulnerabilities using the `docker scan` command. Docker has partnered with [Snyk](http://snyk.io) to provide the vulnerability scanning service. For example, to scan the `getting-started` image you created earlier in the tuto...
https://github.com/docker/getting-started/blob/master//docs/tutorial/image-building-best-practices/index.md
master
docker
[ -0.019071737304329872, 0.0811941847205162, -0.06362181156873703, -0.019500210881233215, 0.14610278606414795, -0.05414598062634468, -0.000830643461085856, 0.03263464570045471, -0.00246948329731822, 0.02379480190575123, 0.005337091628462076, -0.009249143302440643, 0.08335841447114944, 0.0290...
0.039774
downstream layers have to be recreated as well Let's look at the Dockerfile we were using one more time... ```dockerfile FROM node:18-alpine WORKDIR /app COPY . . RUN yarn install --production CMD ["node", "src/index.js"] ``` Going back to the image history output, we see that each command in the Dockerfile becomes a n...
https://github.com/docker/getting-started/blob/master//docs/tutorial/image-building-best-practices/index.md
master
docker
[ -0.1241806149482727, 0.0037072915583848953, 0.11915433406829834, 0.0097787044942379, 0.07445135712623596, -0.02950427494943142, -0.05059625208377838, -0.032159045338630676, 0.02198302373290062, 0.020812124013900757, -0.007523734122514725, 0.05235876142978668, -0.024946069344878197, 0.06172...
-0.032867
WORKDIR /app 0.0s => CACHED [3/5] COPY package.json yarn.lock ./ 0.0s => CACHED [4/5] RUN yarn install --production 0.0s => [5/5] COPY . . 0.5s => exporting to image 0.3s => => exporting layers 0.3s => => writing image sha256:91790c87bcb096a83c2bd4eb512bc8b134c757cda0bdee4038187f98148e2eda 0.0s => => naming to docker.i...
https://github.com/docker/getting-started/blob/master//docs/tutorial/image-building-best-practices/index.md
master
docker
[ -0.03713885322213173, 0.04829469323158264, 0.0498829148709774, -0.03117663599550724, 0.08593516796827316, -0.09130612015724182, -0.05983922630548477, -0.04998607188463211, 0.009448173455893993, 0.07710424810647964, 0.009928528219461441, -0.00877067819237709, -0.047164205461740494, 0.003813...
-0.035648
Although we're done with our workshop, there's still a LOT more to learn about containers! We're not going to go deep-dive here, but here are a few other areas to look at next! ## Container Orchestration Running containers in production is tough. You don't want to log into a machine and simply run a `docker run` or `do...
https://github.com/docker/getting-started/blob/master//docs/tutorial/what-next/index.md
master
docker
[ 0.026880834251642227, 0.023903796449303627, 0.06376303732395172, -0.002596810460090637, -0.02994750812649727, -0.05265089124441147, -0.021563997492194176, -0.07007382065057755, -0.039222124963998795, 0.05925031378865242, -0.0873914510011673, -0.1416207253932953, 0.07491496950387955, -0.034...
0.094264
In case you didn't notice, our todo list is being wiped clean every single time we launch the container. Why is this? Let's dive into how the container is working. ## The Container's Filesystem When a container runs, it uses the various layers from an image for its filesystem. Each container also gets its own "scratch ...
https://github.com/docker/getting-started/blob/master//docs/tutorial/persisting-our-data/index.md
master
docker
[ -0.026235230267047882, 0.008752180263400078, 0.05519627034664154, 0.008852300234138966, 0.10997691005468369, -0.10066185146570206, 0.017512910068035126, 0.012975645251572132, 0.06867299973964691, 0.04044695198535919, 0.019429773092269897, 0.0075804865919053555, 0.0044991374015808105, -0.01...
0.03307
with SQLite, no worries! It's simply a relational database in which all of the data is stored in a single file. While this isn't the best for large-scale applications, it works for small demos. We'll talk about switching this to a different database engine later. With the database being a single file, if we can persist...
https://github.com/docker/getting-started/blob/master//docs/tutorial/persisting-our-data/index.md
master
docker
[ 0.009353104047477245, -0.02546793967485428, -0.017797114327549934, 0.019419528543949127, -0.023449517786502838, -0.05388285964727402, 0.05409276857972145, 0.03193475306034088, -0.022956937551498413, 0.0661466047167778, -0.06681366264820099, -0.0006944843335077167, 0.031085893511772156, -0....
0.046779
commands are actually running inside a small VM on your machine. If you wanted to look at the actual contents of the Mountpoint directory, you would need to first get inside of the VM. ## Recap At this point, we have a functioning application that can survive restarts! We can show it off to our investors and hope they ...
https://github.com/docker/getting-started/blob/master//docs/tutorial/persisting-our-data/index.md
master
docker
[ 0.018390284851193428, -0.037289950996637344, 0.005404309835284948, -0.02069469541311264, 0.08695054799318314, -0.07037962973117828, -0.07669854909181595, 0.049566056579351425, 0.052413713186979294, 0.004240010399371386, 0.07367369532585144, 0.018415110185742378, 0.002202725037932396, -0.01...
0.010209
For the rest of this tutorial, we will be working with a simple todo list manager that is running in Node.js. If you're not familiar with Node.js, don't worry! No real JavaScript experience is needed! At this point, your development team is quite small and you're simply building an app to prove out your MVP (minimum vi...
https://github.com/docker/getting-started/blob/master//docs/tutorial/our-application/index.md
master
docker
[ -0.10552265495061874, 0.015610030852258205, 0.031072396785020828, 0.03931162506341934, 0.1215742826461792, 0.007734853774309158, 0.034911662340164185, 0.10753146559000015, -0.07290013134479523, 0.022627806290984154, -0.05230473726987839, -0.007269527763128281, 0.041026536375284195, 0.00361...
0.090015
image we just created: ```bash docker run -dp 3000:3000 getting-started ``` Remember the `-d` and `-p` flags? We're running the new container in "detached" mode (in the background) and creating a mapping between the host's port 3000 to the container's port 3000. Without the port mapping, we wouldn't be able to access t...
https://github.com/docker/getting-started/blob/master//docs/tutorial/our-application/index.md
master
docker
[ 0.008044864982366562, 0.024817591533064842, -0.0011245383648201823, -0.025675516575574875, 0.08296558260917664, -0.09130197763442993, -0.010331002995371819, 0.04358988255262375, -0.034620918333530426, 0.06054256483912468, -0.03468649089336395, -0.045815061777830124, 0.009919187054038048, 0...
0.007905
Up to this point, we have been working with single container apps. But, we now want to add MySQL to the application stack. The following question often arises - "Where will MySQL run? Install it in the same container or run it separately?" In general, \*\*each container should do one thing and do it well.\*\* A few rea...
https://github.com/docker/getting-started/blob/master//docs/tutorial/multi-container-apps/index.md
master
docker
[ 0.008534957654774189, -0.047891996800899506, 0.014698728919029236, -0.022023433819413185, -0.060260772705078125, -0.034106116741895676, -0.01127952802926302, 0.08603274077177048, -0.044480305165052414, 0.015023970976471901, -0.03543652221560478, -0.047387126833200455, 0.08012522011995316, ...
0.041205
sql terminal type `exit` in the terminal. ## Connecting to MySQL Now that we know MySQL is up and running, let's use it! But, the question is... how? If we run another container on the same network, how do we find the container (remember each container has its own IP address)? To figure it out, we're going to make use ...
https://github.com/docker/getting-started/blob/master//docs/tutorial/multi-container-apps/index.md
master
docker
[ 0.07928003370761871, -0.018748272210359573, -0.03200238570570946, 0.007929971441626549, -0.026243630796670914, -0.059722188860177994, 0.036641787737607956, -0.004847719334065914, 0.011891179718077183, 0.015036250464618206, -0.0675211176276207, -0.04953766614198685, 0.06109912693500519, -0....
0.065108
as connect the container to our app network. ```bash hl\_lines="3 4 5 6 7" docker run -dp 3000:3000 \ -w /app -v "$(pwd):/app" \ --network todo-app \ -e MYSQL\_HOST=mysql \ -e MYSQL\_USER=root \ -e MYSQL\_PASSWORD=secret \ -e MYSQL\_DB=todos \ node:18-alpine \ sh -c "yarn install && yarn run dev" ``` If you are using P...
https://github.com/docker/getting-started/blob/master//docs/tutorial/multi-container-apps/index.md
master
docker
[ -0.029106250032782555, 0.0207865908741951, -0.0468304269015789, -0.02591031976044178, 0.008888455107808113, -0.018766509369015694, -0.016762955114245415, 0.05247099697589874, -0.028070811182260513, 0.11895252019166946, -0.0709964856505394, -0.05115972459316254, 0.034379053860902786, 0.0424...
-0.002576
Kernel module signing facility ------------------------------ .. CONTENTS .. .. - Overview. .. - Configuring module signing. .. - Generating signing keys. .. - Public keys in the kernel. .. - Manually signing modules. .. - Signed modules and stripping. .. - Loading signed modules. .. - Non-valid signatures and unsigned...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/module-signing.rst
master
linux
[ -0.05829247832298279, 0.02702106349170208, -0.06018511950969696, -0.04984303563833237, 0.06532304733991623, -0.08017829060554504, 0.05996638163924217, 0.0931517630815506, 0.003629943821579218, -0.07864675670862198, 0.11008977144956589, 0.07321758568286896, 0.06322623789310455, 0.0229945052...
0.198488
be signed with a key of your choosing. The string provided should identify a file containing both a private key and its corresponding X.509 certificate in PEM form, or β€” on systems where the OpenSSL ENGINE\_pkcs11 is functional β€” a PKCS#11 URI as defined by RFC7512. In the latter case, the PKCS#11 URI should reference ...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/module-signing.rst
master
linux
[ -0.04532459378242493, 0.05234798789024353, -0.06749273091554642, -0.061407580971717834, 0.011619331315159798, -0.018008897081017494, -0.005997739732265472, 0.10266920924186707, -0.013062236830592155, -0.05589871108531952, 0.030304592102766037, -0.04235869646072388, 0.039812058210372925, 0....
-0.049868
architecture code may take public keys from a hardware store and add those in also (e.g. from the UEFI key database). Finally, it is possible to add additional public keys by doing:: keyctl padd asymmetric "" [.builtin\_trusted\_keys-ID] <[key-file] e.g.:: keyctl padd asymmetric "" 0x223c7853
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/module-signing.rst
master
linux
[ -0.013810771517455578, -0.03790304809808731, -0.11850840598344803, -0.029680289328098297, -0.045224569737911224, 0.034041229635477066, 0.024112729355692863, -0.018681500107049942, -0.024940822273492813, 0.041992686688899994, 0.11189591884613037, -0.009757098741829395, 0.029265111312270164, ...
-0.025789
Unicode support =============== Last update: 2005-01-17, version 1.4 Note: The original version of this document, which was maintained at lanana.org as part of the Linux Assigned Names And Numbers Authority (LANANA) project, is no longer existent. So, this version in the mainline Linux kernel is now the maintained main...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/unicode.rst
master
linux
[ -0.00413609528914094, -0.03889261558651924, -0.03585115075111389, -0.03767025098204613, -0.11462165415287018, -0.06271417438983917, -0.02355288900434971, 0.015336794778704643, -0.04162406548857689, -0.028895018622279167, 0.11448642611503601, 0.0014760581543669105, 0.006302127614617348, -0....
-0.009055
FLYING FLAG U+F811 KEYBOARD SYMBOL PULLDOWN MENU U+F812 KEYBOARD SYMBOL OPEN APPLE U+F813 KEYBOARD SYMBOL SOLID APPLE ====== ====================================== Klingon language support ------------------------ In 1996, Linux was the first operating system in the world to add support for the artificial language Klin...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/unicode.rst
master
linux
[ -0.08148344606161118, 0.030036890879273415, -0.05634373798966408, -0.07137207686901093, -0.09621899574995041, 0.015550732612609863, 0.03971431404352188, 0.02683398127555847, 0.04462408274412155, -0.03114507719874382, 0.06617486476898193, 0.0011193675454705954, -0.035096704959869385, 0.0075...
0.172484
Kernel Support for miscellaneous Binary Formats (binfmt\_misc) ============================================================= This Kernel feature allows you to invoke almost (for restrictions see below) every program by simply typing its name in the shell. This includes for example compiled Java(TM), Python or Emacs pro...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/binfmt-misc.rst
master
linux
[ 0.0150021743029356, -0.014723044820129871, -0.08575726300477982, -0.06539280712604523, 0.018169458955526352, -0.09213215112686157, 0.030396534129977226, 0.09030680358409882, 0.00999537669122219, -0.004303565714508295, -0.031580325216054916, -0.10502300411462784, -0.033432215452194214, 0.07...
0.121982
execute non-readable binaries. This feature should be used with care - the interpreter has to be trusted not to emit the contents of the non-readable binary. ``C`` - credentials Currently, the behavior of binfmt\_misc is to calculate the credentials and security token of the new process according to the interpreter. Wh...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/binfmt-misc.rst
master
linux
[ -0.009237639605998993, -0.012153662741184235, -0.08372076600790024, -0.02407863922417164, -0.0049383132718503475, -0.051535483449697495, -0.004129699431359768, 0.15973980724811554, -0.010776055045425892, 0.010469093918800354, 0.0016108809504657984, -0.10556326061487198, 0.01016838289797306, ...
0.107287
================================================= The Linux kernel user's and administrator's guide ================================================= The following is a collection of user-oriented documents that have been added to the kernel over time. There is, as yet, little overall order or organization here β€” this ...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/index.rst
master
linux
[ -0.015632374212145805, -0.028578758239746094, -0.01665828563272953, -0.030289774760603905, 0.04783190041780472, -0.05974378064274788, -0.056423284113407135, 0.12193223088979721, -0.10733291506767273, -0.01904928870499134, 0.05626099929213524, 0.10262665152549744, -0.03391881287097931, -0.0...
0.190403
====================================== Parallel port LCD/Keypad Panel support ====================================== Some LCDs allow you to define up to 8 characters, mapped to ASCII characters 0 to 7. The escape code to define a new character is '\e[LG' followed by one digit from 0 to 7, representing the character num...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/lcd-panel-cgram.rst
master
linux
[ -0.06469906121492386, -0.02454119175672531, -0.08458863943815231, -0.1024104431271553, -0.0945778414607048, 0.002099057426676154, 0.02427918091416359, 0.011311275884509087, -0.03673159331083298, -0.01265266165137291, 0.10366517305374146, -0.020478922873735428, 0.06013114005327225, 0.007717...
0.052651
.. SPDX-License-Identifier: GPL-2.0 ===================== Syscall User Dispatch ===================== Background ---------- Compatibility layers like Wine need a way to efficiently emulate system calls of only a part of their process - the part that has the incompatible code - while being able to execute native syscall...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/syscall-user-dispatch.rst
master
linux
[ -0.004717961419373751, -0.014840998686850071, -0.047974132001399994, -0.017970187589526176, -0.007755415979772806, -0.09352900087833405, 0.10322672128677368, 0.005426381714642048, -0.046241939067840576, -0.06001899763941765, -0.03821328654885292, -0.008322237059473991, -0.06280634552240372, ...
0.121464
program with a SIGSYS. Additionally, a tasks syscall user dispatch configuration can be peeked and poked via the PTRACE\_(GET|SET)\_SYSCALL\_USER\_DISPATCH\_CONFIG ptrace requests. This is useful for checkpoint/restart software. Security Notes -------------- Syscall User Dispatch provides functionality for compatibilit...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/syscall-user-dispatch.rst
master
linux
[ -0.05649512633681297, 0.011096320115029812, -0.05989229679107666, -0.03280535340309143, -0.0004610239411704242, -0.09558026492595673, 0.09991133213043213, 0.06087211146950722, 0.01489439606666565, -0.008647133596241474, 0.0170810054987669, 0.005354981403797865, -0.04298052936792374, -0.022...
0.245201
Rules on how to access information in sysfs =========================================== The kernel-exported sysfs exports internal kernel implementation details and depends on internal kernel structures and layout. It is agreed upon by the kernel developers that the Linux kernel does not provide a stable internal API. ...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/sysfs-rules.rst
master
linux
[ -0.032434020191431046, -0.08221640437841415, -0.04199855774641037, -0.06708799302577972, 0.08757740259170532, -0.11875946819782257, -0.01275642029941082, 0.06596005707979202, -0.02977910079061985, 0.013164559379220009, 0.04044546186923981, 0.00623931922018528, -0.03466657176613808, -0.0101...
0.104558
(``tg3``, ``ata\_piix``, ``uhci\_hcd``) - a simple string, which may contain spaces, never a path or a link - it is retrieved by reading the "driver"-link and using only the last element of the target path - devices which do not have "driver"-link just do not have a driver; copying the driver value in a child device co...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/sysfs-rules.rst
master
linux
[ -0.03483332321047783, -0.00728650251403451, -0.005491680931299925, -0.021445471793413162, 0.0391344390809536, -0.0572853609919548, 0.03580150380730629, 0.060421738773584366, -0.043154362589120865, -0.05327185243368149, 0.1839703917503357, -0.06964324414730072, 0.08017288148403168, -0.07392...
0.104511
Never depend on the class-specific links back to the ``/sys/class`` directory. These links are also a workaround for the design mistake that class devices are not created in ``/sys/devices.`` If a device directory does not contain directories for child devices, these links may be used to find the child devices in ``/sy...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/sysfs-rules.rst
master
linux
[ -0.06683483719825745, -0.0036859712563455105, 0.020831210538744926, -0.03524176776409149, 0.06807310879230499, -0.11622769385576248, 0.0057435897178947926, 0.013370754197239876, -0.05531574785709381, 0.0005708897369913757, 0.1279178261756897, 0.04856628552079201, 0.0338684543967247, 0.0141...
0.025093
.. SPDX-License-Identifier: GPL-2.0 ======================== ext4 General Information ======================== Ext4 is an advanced level of the ext3 filesystem which incorporates scalability and reliability enhancements for supporting large filesystems (64 bit) in keeping with increasing disk capacities and state-of-th...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/ext4.rst
master
linux
[ -0.022585511207580566, 0.0027552207466214895, -0.05183315649628639, 0.007139619439840317, 0.0854659229516983, -0.11100200563669205, -0.026092039421200752, 0.11190219968557358, -0.05616550147533417, -0.03700655326247215, 0.01163974404335022, 0.010730321519076824, -0.05734753981232643, -0.02...
0.11935
an empty directory. The case-insensitive string match operation is only defined when we know how text in encoded in a byte sequence. For that reason, in order to enable case-insensitive directories, the filesystem must have the casefold feature, which stores the filesystem-wide encoding model used. By default, the char...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/ext4.rst
master
linux
[ -0.018410375341773033, 0.008262393064796925, 0.0062643252313137054, -0.04798723757266998, -0.004965499043464661, -0.06404897570610046, 0.027105940505862236, 0.09428045153617859, 0.08208253979682922, -0.029682137072086334, 0.10097815841436386, 0.0528310164809227, 0.06502978503704071, 0.0123...
0.108806
main file system after its metadata has been committed to the journal. commit=nrsec (\*) This setting limits the maximum age of the running transaction to 'nrsec' seconds. The default value is 5 seconds. This means that if you lose your power, you will lose as much as the latest 5 seconds of metadata changes (your file...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/ext4.rst
master
linux
[ -0.03267427906394005, 0.08584783971309662, -0.10567870736122131, 0.044977396726608276, 0.013575375080108643, -0.0030265480745583773, -0.047462526708841324, 0.09255151450634003, 0.0052526951767504215, 0.0243119765073061, -0.0021169998217374086, 0.07840806990861893, 0.01057193148881197, -0.0...
0.150118
writes out the block(s) in question. This allows ext4 to better allocation decisions more efficiently. nodelalloc Disable delayed allocation. Blocks are allocated when the data is copied from userspace to the page cache, either via the write(2) system call or when an mmap'ed page which was previously unallocated is wri...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/ext4.rst
master
linux
[ -0.04574596881866455, 0.05644449591636658, -0.03373168781399727, 0.08649489283561707, 0.01887844316661358, -0.08442545682191849, -0.047483764588832855, 0.04433758184313774, 0.09862586110830307, 0.05950694903731346, 0.03482145443558693, 0.05078868195414543, -0.0225148294121027, -0.086758762...
0.169028
with older kernels which only store and expect 16-bit values. block\_validity(\*), noblock\_validity These options enable or disable the in-kernel facility for tracking filesystem metadata blocks within internal data structures. This allows multi- block allocator and other routines to notice bugs or corrupted allocatio...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/ext4.rst
master
linux
[ -0.016840731725096703, 0.05218607932329178, -0.02969380095601082, -0.0018138430314138532, 0.09031031280755997, -0.11906664073467255, 0.0078114536590874195, 0.06724806129932404, 0.02166067063808441, -0.004195097368210554, 0.09189798682928085, 0.012330573052167892, -0.06900545954704285, -0.0...
0.158347
allocator buddy cache of free blocks /sys entries ============ Information about mounted ext4 file systems can be found in /sys/fs/ext4. Each mounted filesystem will have a directory in /sys/fs/ext4 based on its device name (i.e., /sys/fs/ext4/hdc or /sys/fs/ext4/dm-0). The files in each per-device directory are shown ...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/ext4.rst
master
linux
[ -0.012109804898500443, 0.01168026588857174, -0.07466410845518112, -0.0045186313800513744, 0.1208358108997345, -0.08923108130693436, 0.03043231926858425, 0.06007770821452141, 0.07317928224802017, 0.07649551331996918, 0.10412167757749557, 0.035257622599601746, -0.03024165704846382, -0.052630...
0.111147
for each inode. The i\_generation number is normally changed only when new inode is created and it is particularly useful for network filesystems. The '\_OLD' version of this ioctl is an alias for FS\_IOC\_GETVERSION. EXT4\_IOC\_SETVERSION, EXT4\_IOC\_SETVERSION\_OLD Set the inode i\_generation number stored for each i...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/ext4.rst
master
linux
[ -0.08485491573810577, -0.005101068411022425, -0.013594374060630798, 0.02873251959681511, 0.1015525609254837, -0.07182952761650085, -0.003119243774563074, 0.09293144941329956, 0.03112407959997654, -0.005131070502102375, 0.0848393589258194, 0.015835842117667198, 0.005647329613566399, -0.0407...
0.126586
======== CPU load ======== Linux exports various bits of information via ``/proc/stat`` and ``/proc/uptime`` that userland tools, such as top(1), use to calculate the average time system spent in a particular state, for example:: $ iostat Linux 2.6.18.3-exp (linmac) 02/20/2007 avg-cpu: %user %nice %system %iowait %stea...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/cpu-load.rst
master
linux
[ -0.03737373277544975, -0.008110083639621735, -0.10355551540851593, 0.009479336440563202, 0.14107400178909302, -0.08835801482200623, 0.10344564914703369, 0.10222042351961136, 0.07780121266841888, 0.07242380827665329, -0.01339312270283699, -0.03588663041591644, 0.011616663075983524, -0.06000...
0.229125
Tainted kernels --------------- The kernel will mark itself as 'tainted' when something occurs that might be relevant later when investigating problems. Don't worry too much about this, most of the time it's not a problem to run a tainted kernel; the information is mainly of interest once someone wants to investigate s...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/tainted-kernels.rst
master
linux
[ -0.006877201609313488, -0.04263906925916672, 0.006334374658763409, 0.029032057151198387, 0.13545386493206024, -0.07325101643800735, 0.005150823388248682, 0.06544096022844315, 0.013612831942737103, -0.05260639637708664, 0.04569602012634277, 0.02946731634438038, 0.05994957312941551, -0.02361...
0.051106
each bit indicates the absence or presence of a particular type of taint. It's best to leave that to the aforementioned script, but if you need something quick you can use this shell command to check which bits are set:: $ for i in $(seq 18); do echo $(($i-1)) $(($(cat /proc/sys/kernel/tainted)>>($i-1)&1));done Table f...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/tainted-kernels.rst
master
linux
[ 0.0620880089700222, 0.008638883009552956, -0.05234017223119736, -0.02250133454799652, 0.0892210379242897, -0.07675036787986755, 0.07772546261548996, -0.007481387350708246, -0.009036000818014145, -0.018465979024767876, 0.016088537871837616, -0.06936971843242645, 0.03224309906363487, -0.0510...
0.083694
was force unloaded by ``rmmod -f``, ``' '`` if all modules were unloaded normally. 4) ``M`` if any processor has reported a Machine Check Exception, ``' '`` if no Machine Check Exceptions have occurred. 5) ``B`` If a page-release function has found a bad page reference or some unexpected page flags. This indicates a ha...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/tainted-kernels.rst
master
linux
[ -0.03386739641427994, 0.03929707035422325, -0.03575415909290314, -0.005885138642042875, 0.13487011194229126, -0.07336587458848953, 0.0540912002325058, 0.05960047245025635, -0.05472317337989807, 0.00953624490648508, 0.12716592848300934, 0.007475557737052441, 0.0059717618860304356, 0.0022129...
0.178321
RAID arrays =========== Boot time assembly of RAID arrays --------------------------------- Tools that manage md devices can be found at https://www.kernel.org/pub/linux/utils/raid/ You can boot with your md device with the following kernel command lines: for old raid arrays without persistent superblocks:: md=,,,,dev0...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/md.rst
master
linux
[ -0.0017349434783682227, -0.015490500256419182, -0.06732521206140518, -0.06513367593288422, -0.006829757243394852, -0.08288046717643738, -0.036479394882917404, 0.0205693356692791, -0.06851999461650848, -0.031797200441360474, -0.034640081226825714, 0.0626228004693985, 0.023935912176966667, 0...
-0.036259
array is assembled, it is first initialized with the SET\_ARRAY\_INFO ioctl. This contains, in particular, a major and minor version number. The major version number selects which superblock format is to be used. The minor number might be used to tune handling of the format, such as suggesting where on each device to l...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/md.rst
master
linux
[ 0.02280762605369091, 0.03367742523550987, -0.022182758897542953, -0.015785792842507362, 0.007674925960600376, -0.06892456114292145, 0.016380582004785538, 0.005338703747838736, -0.021150175482034683, 0.0006972032133489847, 0.033582571893930435, 0.07740456610918045, -0.007776895072311163, -0...
0.130026
(e.g. adding devices) will not cause the size to change. Writing the word ``default`` will cause the effective size of the array to be whatever size is actually available based on ``level``, ``chunk\_size`` and ``component\_size``. This can be used to reduce the size of the array before reducing the number of devices i...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/md.rst
master
linux
[ 0.07634170353412628, 0.0038139140233397484, -0.07057464867830276, -0.039598360657691956, -0.05835162475705147, -0.10711082816123962, -0.02309229224920273, 0.01452613528817892, -0.05055662617087364, 0.00153607246465981, -0.014785511419177055, 0.11166522651910782, 0.020775264129042625, -0.02...
-0.011305
which describes the current state of the array. In many cases, the state can be set by writing the word for the desired state, however some states cannot be explicitly set, and some transitions are not allowed. Select/poll works on this file. All changes except between Active\_idle and active (which can be frequent and...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/md.rst
master
linux
[ -0.02439878135919571, 0.009202439337968826, -0.04864124953746796, 0.07964746654033661, -0.0006415106472559273, -0.10538668185472488, 0.06077493727207184, -0.05192800611257553, 0.02830321155488491, 0.041079141199588776, -0.03849884867668152, 0.11803306639194489, -0.01989906094968319, -0.051...
0.266871
a portion of the array. For RAID1, it is both (they come to the same thing). bitmap/time\_base The time, in seconds, between looking for bits in the bitmap to be cleared. In the current implementation, a bit will be cleared between 2 and 3 times ``time\_base`` after all the covered blocks are known to be in-sync. bitma...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/md.rst
master
linux
[ 0.031213633716106415, -0.0018847776809707284, -0.06285218894481659, -0.030080271884799004, 0.03423001617193222, -0.1112140342593193, -0.0009834814118221402, -0.08345576375722885, 0.018478216603398323, -0.012273689731955528, -0.022622155025601387, 0.0772564560174942, 0.054007139056921005, -...
0.080898
This list may grow in future. This can be written to. Writing ``faulty`` simulates a failure on the device. Writing ``remove`` removes the device from the array. Writing ``writemostly`` sets the writemostly flag. Writing ``-writemostly`` clears the writemostly flag. Writing ``blocked`` sets the ``blocked`` flag. Writin...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/md.rst
master
linux
[ -0.04722697287797928, -0.03447854518890381, -0.05930754169821739, -0.002042194362729788, 0.0179740060120821, -0.07090675830841064, 0.01928742788732052, -0.023340458050370216, -0.0322100967168808, 0.04419249668717384, 0.07420312613248825, 0.0711018368601799, 0.04787943512201309, -0.07700449...
0.167641
``bad\_blocks``. If output is too big to fit in a page, it will be truncated. Writing to this file adds bad blocks without acknowledging them. This is largely for testing. ppl\_sector, ppl\_size Location and size (in sectors) of the space used for Partial Parity Log on this device. An active md device will also contain...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/md.rst
master
linux
[ -0.07663296908140182, -0.07048799842596054, -0.03517723083496094, -0.008168049156665802, 0.012283499352633953, -0.12234761565923691, -0.04442116618156433, 0.015805356204509735, -0.013391031883656979, 0.028636179864406586, 0.014109836891293526, 0.09747014194726944, 0.06048479676246643, -0.0...
0.070818
only apply to the particular array. If no value has been written to these, or if the word ``system`` is written, then the system-wide value is used. If a value, in kibibytes-per-second is written, then it is used. When the files are read, they show the currently active value followed by ``(local)`` or ``(system)`` depe...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/md.rst
master
linux
[ -0.022981062531471252, -0.00837158877402544, -0.10080703347921371, 0.03056471049785614, 0.033530112355947495, -0.04091743379831314, 0.055602043867111206, -0.02971106395125389, 0.06892728060483932, 0.015313343144953251, 0.02056635171175003, 0.04816177859902382, 0.07107887417078018, -0.13177...
0.149548
.. SPDX-License-Identifier: (GPL-2.0+ OR CC-BY-4.0) .. [see the bottom of this file for redistribution information] ========================================= How to verify bugs and bisect regressions ========================================= This document describes how to check if some Linux kernel problem occurs in co...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/verify-bugs-and-bisect-regressions.rst
master
linux
[ -0.07732485234737396, -0.004793028812855482, 0.007395133376121521, 0.0494031123816967, 0.13669487833976746, -0.10173659026622772, 0.04804319888353348, 0.04883603751659393, -0.05791870132088661, -0.0387161448597908, 0.013965035788714886, 0.011232865042984486, 0.006436347961425781, -0.059371...
0.097241
VPNs, mount network shares, and briefly try the feature that is broken. yes '' | make localmodconfig ./scripts/config --set-str CONFIG\_LOCALVERSION '-local' ./scripts/config -e CONFIG\_LOCALVERSION\_AUTO # \* Note, when short on storage space, check the guide for an alternative: ./scripts/config -d DEBUG\_INFO\_NONE -...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/verify-bugs-and-bisect-regressions.rst
master
linux
[ -0.031365253031253815, -0.06052449718117714, 0.044374555349349976, -0.04006453603506088, 0.05011839047074318, -0.03733550012111664, -0.10750329494476318, 0.012738854624330997, -0.0429626926779747, 0.01668200083076954, 0.12721043825149536, -0.06128010153770447, -0.06894223392009735, 0.02925...
-0.061859
test a kernel to then tell Git the outcome). Do so again and again until Git shows which commit broke things. If you run short of disk space during this process, check the section 'Complementary tasks: cleanup during and after the process' below. d) Once your finished the bisection, put a few things away:: cd ~/linux/ ...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/verify-bugs-and-bisect-regressions.rst
master
linux
[ 0.06633598357439041, -0.07147517055273056, 0.06515880674123764, 0.01673506759107113, 0.0740339607000351, -0.07391693443059921, -0.009931749664247036, 0.0389043353497982, 0.03439369052648544, -0.011686812154948711, 0.10354281216859818, -0.03218395262956619, -0.007295347284525633, -0.0222552...
0.027976
fine `. :ref:`Segment 3: perform a bisection and validate the result `. :ref:`Complementary tasks: cleanup during and after following this guide `. :ref:`Optional tasks: test reverts, patches, or later versions `. The steps in each segment illustrate the important aspects of the process, while a comprehensive reference...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/verify-bugs-and-bisect-regressions.rst
master
linux
[ -0.05929100140929222, -0.04037340357899666, 0.022106537595391273, 0.037274982780218124, 0.1441795825958252, -0.06144970282912254, -0.05392562225461006, 0.09655007719993591, -0.03551683574914932, -0.013978199101984501, 0.026612665504217148, 0.066541887819767, -0.04493854194879532, -0.012723...
0.096454
that 6.0 is fine; this hypothesis will be checked in segment 2. \* Something regressed when switching from one mainline version (say 6.0) to a later one (like 6.1-rc1) or a stable/longterm release based on it (say 6.1.5)? Then regard the last working version (e.g. 6.0) as 'good' and the first broken (e.g. 6.1-rc1 or 6....
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/verify-bugs-and-bisect-regressions.rst
master
linux
[ -0.017698345705866814, -0.057157911360263824, 0.02672693319618702, -0.023801222443580627, 0.08250503987073898, -0.022009210661053658, -0.06692321598529816, 0.05913953483104706, -0.069731205701828, -0.036848973482847214, 0.08707492053508759, 0.0395275317132473, -0.04906236380338669, -0.0806...
0.06461
print a few lines you need to check. Look out for a line starting with '# using defaults found in'. It should be followed by a path to a file in '/boot/' that contains the release identifier of your currently working kernel. If the line instead continues with something like 'arch/x86/configs/x86\_64\_defconfig', then t...
https://github.com/torvalds/linux/blob/master//Documentation/admin-guide/verify-bugs-and-bisect-regressions.rst
master
linux
[ 0.05552548170089722, -0.0361093208193779, 0.013352898880839348, 0.015718812122941017, 0.10645469278097153, -0.026768703013658524, -0.01661015674471855, 0.017665501683950424, -0.08303539454936981, -0.06433424353599548, 0.09658987820148468, -0.04737408086657524, -0.03627558797597885, -0.0276...
0.005759