Skip to content

Commit 5fd8bf5

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 78326bb of spec repo
1 parent d03219d commit 5fd8bf5

File tree

9 files changed

+267
-64
lines changed

9 files changed

+267
-64
lines changed

config/_default/menus/api.en.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4194,7 +4194,7 @@ menu:
41944194
- CreateHostTags
41954195
unstable: []
41964196
order: 3
4197-
- name: Get host tags
4197+
- name: Get Host Tags
41984198
url: '#get-host-tags'
41994199
identifier: tags-get-host-tags
42004200
parent: tags
@@ -4218,9 +4218,9 @@ menu:
42184218
- DeleteHostTags
42194219
unstable: []
42204220
order: 5
4221-
- name: Get Tags
4222-
url: '#get-tags'
4223-
identifier: tags-get-tags
4221+
- name: Get All Host Tags
4222+
url: '#get-all-host-tags'
4223+
identifier: tags-get-all-host-tags
42244224
parent: tags
42254225
generated: true
42264226
params:

content/en/api/v1/dashboards/examples.json

Lines changed: 5 additions & 5 deletions
Large diffs are not rendered by default.
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
{
2+
"title": "Example-Dashboard",
3+
"description": "Example-Dashboard",
4+
"widgets": [
5+
{
6+
"definition": {
7+
"title": "Log Count by Service and Source",
8+
"type": "geomap",
9+
"requests": [
10+
{
11+
"response_format": "scalar",
12+
"queries": [
13+
{
14+
"data_source": "rum",
15+
"name": "query1",
16+
"search": {
17+
"query": "@type:session"
18+
},
19+
"indexes": [
20+
"*"
21+
],
22+
"compute": {
23+
"aggregation": "count"
24+
},
25+
"group_by": []
26+
}
27+
],
28+
"conditional_formats": [
29+
{
30+
"comparator": ">",
31+
"value": 1000,
32+
"palette": "white_on_green"
33+
}
34+
],
35+
"formulas": [
36+
{
37+
"formula": "query1"
38+
}
39+
],
40+
"sort": {
41+
"count": 250,
42+
"order_by": [
43+
{
44+
"type": "formula",
45+
"index": 0,
46+
"order": "desc"
47+
}
48+
]
49+
}
50+
},
51+
{
52+
"response_format": "event_list",
53+
"query": {
54+
"data_source": "logs_stream",
55+
"query_string": "",
56+
"indexes": [],
57+
"storage": "hot"
58+
},
59+
"columns": [
60+
{
61+
"field": "@network.client.geoip.location.latitude",
62+
"width": "auto"
63+
},
64+
{
65+
"field": "@network.client.geoip.location.longitude",
66+
"width": "auto"
67+
},
68+
{
69+
"field": "@network.client.geoip.country.iso_code",
70+
"width": "auto"
71+
},
72+
{
73+
"field": "@network.client.geoip.subdivision.name",
74+
"width": "auto"
75+
}
76+
],
77+
"style": {
78+
"color_by": "status"
79+
},
80+
"text_formats": [
81+
{
82+
"match": {
83+
"type": "is",
84+
"value": "error"
85+
},
86+
"palette": "white_on_red"
87+
}
88+
]
89+
}
90+
],
91+
"style": {
92+
"palette": "hostmap_blues",
93+
"palette_flip": false
94+
},
95+
"view": {
96+
"focus": "NORTH_AMERICA"
97+
}
98+
},
99+
"layout": {
100+
"x": 0,
101+
"y": 0,
102+
"width": 12,
103+
"height": 6
104+
}
105+
}
106+
],
107+
"template_variables": [],
108+
"layout_type": "ordered",
109+
"notify_list": [],
110+
"reflow_type": "fixed",
111+
"tags": []
112+
}

content/en/api/v1/dashboards/widgets.json

Lines changed: 54 additions & 5 deletions
Large diffs are not rendered by default.

content/en/api/v1/tags/examples.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
]
1010
}
1111
},
12-
"html": "<div class=\"\"><div class=\"row hasChildData \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row js-collapse-trigger collapse-trigger \">\n <div class=\"col-4 column\">\n <p class=\"key\"><span class=\"toggle-arrow\"><svg width=\"6\" height=\"9\" viewBox=\"0 0 6 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.7294 4.45711L0.733399 7.82311L1.1294 8.29111L5.6654 4.45711L1.1294 0.641113L0.751398 1.12711L4.7294 4.45711Z\" fill=\"black\"/></svg></span> tags</p>\n </div>\n <div class=\"col-2 column\"><p>object</p></div>\n <div class=\"col-6 column\"><p>A list of tags to apply to the host.</p></div>\n </div>\n <div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">&lt;any-key&gt;</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of additional properties for tags.</p></div>\n </div>\n \n </div>\n </div>\n </div>\n </div></div>"
12+
"html": "<div class=\"\"><div class=\"row hasChildData \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row js-collapse-trigger collapse-trigger \">\n <div class=\"col-4 column\">\n <p class=\"key\"><span class=\"toggle-arrow\"><svg width=\"6\" height=\"9\" viewBox=\"0 0 6 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.7294 4.45711L0.733399 7.82311L1.1294 8.29111L5.6654 4.45711L1.1294 0.641113L0.751398 1.12711L4.7294 4.45711Z\" fill=\"black\"/></svg></span> tags</p>\n </div>\n <div class=\"col-2 column\"><p>object</p></div>\n <div class=\"col-6 column\"><p>A mapping of tags to host names</p></div>\n </div>\n <div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">&lt;any-key&gt;</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of host names which contain this tag</p></div>\n </div>\n \n </div>\n </div>\n </div>\n </div></div>"
1313
},
1414
"403": {
1515
"json": {
@@ -84,7 +84,7 @@
8484
"environment:production"
8585
]
8686
},
87-
"html": "<div class=\"\"><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">host</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"><p>Your host name.</p></div>\n </div>\n \n </div>\n </div><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">tags</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of tags to apply to the host.</p></div>\n </div>\n \n </div>\n </div></div>"
87+
"html": "<div class=\"\"><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">host</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"><p>Your host name.</p></div>\n </div>\n \n </div>\n </div><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">tags</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of tags attached to a given host.</p></div>\n </div>\n \n </div>\n </div></div>"
8888
},
8989
"403": {
9090
"json": {
@@ -126,7 +126,7 @@
126126
"environment:production"
127127
]
128128
},
129-
"html": "<div class=\"\"><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">host</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"><p>Your host name.</p></div>\n </div>\n \n </div>\n </div><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">tags</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of tags to apply to the host.</p></div>\n </div>\n \n </div>\n </div></div>"
129+
"html": "<div class=\"\"><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">host</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"><p>Your host name.</p></div>\n </div>\n \n </div>\n </div><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">tags</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of tags attached to a given host.</p></div>\n </div>\n \n </div>\n </div></div>"
130130
},
131131
"403": {
132132
"json": {
@@ -173,7 +173,7 @@
173173
"environment:production"
174174
]
175175
},
176-
"html": "<div class=\"\"><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">host</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"><p>Your host name.</p></div>\n </div>\n \n </div>\n </div><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">tags</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of tags to apply to the host.</p></div>\n </div>\n \n </div>\n </div></div>"
176+
"html": "<div class=\"\"><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">host</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"><p>Your host name.</p></div>\n </div>\n \n </div>\n </div><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">tags</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of tags attached to a given host.</p></div>\n </div>\n \n </div>\n </div></div>"
177177
},
178178
"403": {
179179
"json": {

data/api/v1/CodeExamples.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@
8181
"suffix": "_3513586382",
8282
"description": "Create a geomap widget using an event_list request"
8383
},
84+
{
85+
"group": "dashboards",
86+
"suffix": "_9836563",
87+
"description": "Create a geomap widget with conditional formats and text formats"
88+
},
8489
{
8590
"group": "dashboards",
8691
"suffix": "",

0 commit comments

Comments
 (0)