Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aos
GitHub Repository: aos/grafana-agent
Path: blob/main/example/k3d/lib/load-generator/load-generator-config.json
4096 views
1
{
2
"topology": {
3
"services": [
4
{
5
"serviceName": "frontend",
6
"tagSets": [
7
{
8
"weight": 1,
9
"tags": {
10
"version": "v127",
11
"region": "us-east-1"
12
},
13
"tagGenerators": [],
14
"inherit": [],
15
"maxLatency": 100
16
},
17
{
18
"weight": 1,
19
"tags": {
20
"version": "v125",
21
"region": "us-east-1"
22
},
23
"tagGenerators": [],
24
"inherit": [],
25
"maxLatency": 100
26
},
27
{
28
"weight": 2,
29
"tags": {
30
"version": "v125",
31
"region": "us-west-1"
32
},
33
"tagGenerators": [],
34
"inherit": [],
35
"maxLatency": 100
36
}
37
],
38
"routes": [
39
{
40
"route": "/product",
41
"downstreamCalls": {
42
"productcatalogservice": "/GetProducts",
43
"recommendationservice": "/GetRecommendations",
44
"adservice": "/AdRequest"
45
},
46
"tagSets": [
47
{
48
"weight": 1,
49
"tags": {
50
"starter": "charmander"
51
},
52
"tagGenerators": [
53
{
54
"rand": {
55
"seed": 179867746078676,
56
"nextNextGaussian": 0,
57
"haveNextNextGaussian": false
58
},
59
"tagGen": {},
60
"valLength": 16,
61
"numTags": 50,
62
"numVals": 3000
63
}
64
],
65
"inherit": []
66
},
67
{
68
"weight": 1,
69
"tags": {
70
"starter": "squirtle"
71
},
72
"tagGenerators": [],
73
"inherit": []
74
},
75
{
76
"weight": 1,
77
"tags": {
78
"starter": "bulbasaur"
79
},
80
"tagGenerators": [],
81
"inherit": []
82
}
83
]
84
},
85
{
86
"route": "/cart",
87
"downstreamCalls": {
88
"cartservice": "/GetCart",
89
"recommendationservice": "/GetRecommendations"
90
},
91
"tagSets": []
92
},
93
{
94
"route": "/checkout",
95
"downstreamCalls": {
96
"checkoutservice": "/PlaceOrder"
97
},
98
"tagSets": [
99
{
100
"tags": {},
101
"tagGenerators": [],
102
"inherit": [],
103
"maxLatency": 800
104
}
105
]
106
},
107
{
108
"route": "/shipping",
109
"downstreamCalls": {
110
"shippingservice": "/GetQuote"
111
},
112
"tagSets": [
113
{
114
"tags": {},
115
"tagGenerators": [],
116
"inherit": [],
117
"maxLatency": 50
118
}
119
]
120
},
121
{
122
"route": "/currency",
123
"downstreamCalls": {
124
"currencyservice": "/GetConversion"
125
},
126
"tagSets": [
127
{
128
"tags": {},
129
"tagGenerators": [],
130
"inherit": [],
131
"maxLatency": 50
132
}
133
]
134
}
135
],
136
"instances": [
137
"frontend-6b654dbf57-zq8dt",
138
"frontend-d847fdcf5-j6s2f",
139
"frontend-79d8c8d6c8-9sbff"
140
],
141
"mergedTagSets": {},
142
"random": {
143
"seed": 187004238864083,
144
"nextNextGaussian": 0,
145
"haveNextNextGaussian": false
146
}
147
},
148
{
149
"serviceName": "productcatalogservice",
150
"tagSets": [
151
{
152
"tags": {
153
"version": "v52"
154
},
155
"tagGenerators": [],
156
"inherit": [
157
"region"
158
]
159
}
160
],
161
"routes": [
162
{
163
"route": "/GetProducts",
164
"downstreamCalls": {},
165
"tagSets": [
166
{
167
"tags": {},
168
"tagGenerators": [],
169
"inherit": [
170
"starter"
171
],
172
"maxLatency": 100
173
}
174
]
175
},
176
{
177
"route": "/SearchProducts",
178
"downstreamCalls": {},
179
"tagSets": [
180
{
181
"weight": 15,
182
"tags": {
183
"error": true,
184
"http.status_code": 503
185
},
186
"tagGenerators": [],
187
"inherit": [],
188
"maxLatency": 400
189
},
190
{
191
"weight": 85,
192
"tags": {},
193
"tagGenerators": [],
194
"inherit": [],
195
"maxLatency": 400
196
}
197
]
198
}
199
],
200
"instances": [
201
"productcatalogservice-6b654dbf57-zq8dt",
202
"productcatalogservice-d847fdcf5-j6s2f"
203
],
204
"mergedTagSets": {},
205
"random": {
206
"seed": 238238032670139,
207
"nextNextGaussian": 0,
208
"haveNextNextGaussian": false
209
}
210
},
211
{
212
"serviceName": "recommendationservice",
213
"tagSets": [
214
{
215
"tags": {
216
"version": "v234",
217
"region": "us-east-1"
218
},
219
"tagGenerators": [],
220
"inherit": []
221
}
222
],
223
"routes": [
224
{
225
"route": "/GetRecommendations",
226
"downstreamCalls": {
227
"productcatalogservice": "/GetProducts"
228
},
229
"tagSets": [
230
{
231
"tags": {},
232
"tagGenerators": [],
233
"inherit": [],
234
"maxLatency": 200
235
}
236
]
237
}
238
],
239
"instances": [
240
"recommendationservice-6b654dbf57-zq8dt",
241
"recommendationservice-d847fdcf5-j6s2f"
242
],
243
"mergedTagSets": {},
244
"random": {
245
"seed": 66295214032801,
246
"nextNextGaussian": 0,
247
"haveNextNextGaussian": false
248
}
249
},
250
{
251
"serviceName": "cartservice",
252
"tagSets": [
253
{
254
"tags": {
255
"version": "v5",
256
"region": "us-east-1"
257
},
258
"tagGenerators": [],
259
"inherit": []
260
}
261
],
262
"routes": [
263
{
264
"route": "/GetCart",
265
"downstreamCalls": {},
266
"tagSets": [
267
{
268
"tags": {},
269
"tagGenerators": [],
270
"inherit": [],
271
"maxLatency": 200
272
}
273
]
274
}
275
],
276
"instances": [
277
"cartservice-6b654dbf57-zq8dt",
278
"cartservice-d847fdcf5-j6s2f"
279
],
280
"mergedTagSets": {},
281
"random": {
282
"seed": 234194353561392,
283
"nextNextGaussian": 0,
284
"haveNextNextGaussian": false
285
}
286
},
287
{
288
"serviceName": "checkoutservice",
289
"tagSets": [
290
{
291
"tags": {
292
"version": "v37",
293
"region": "us-east-1"
294
},
295
"tagGenerators": [],
296
"inherit": [],
297
"maxLatency": 500
298
}
299
],
300
"routes": [
301
{
302
"route": "/PlaceOrder",
303
"downstreamCalls": {
304
"paymentservice": "/CreditCardInfo",
305
"shippingservice": "/Address",
306
"currencyservice": "/GetConversion",
307
"cartservice": "/GetCart",
308
"emailservice": "/SendOrderConfirmation"
309
},
310
"tagSets": [
311
{
312
"weight": 25,
313
"tags": {
314
"error": true,
315
"http.status_code": 503
316
},
317
"tagGenerators": [],
318
"inherit": []
319
},
320
{
321
"weight": 85,
322
"tags": {},
323
"tagGenerators": [],
324
"inherit": []
325
}
326
]
327
}
328
],
329
"instances": [
330
"checkoutservice-6b654dbf57-zq8dt",
331
"checkoutservice-d847fdcf5-j6s2f"
332
],
333
"mergedTagSets": {},
334
"random": {
335
"seed": 60782549660568,
336
"nextNextGaussian": 0,
337
"haveNextNextGaussian": false
338
}
339
},
340
{
341
"serviceName": "paymentservice",
342
"tagSets": [
343
{
344
"tags": {
345
"version": "v177",
346
"region": "us-east-1"
347
},
348
"tagGenerators": [],
349
"inherit": []
350
}
351
],
352
"routes": [
353
{
354
"route": "/ChargeRequest",
355
"downstreamCalls": {
356
"paymentservice": "/CreditCardInfo"
357
},
358
"tagSets": [
359
{
360
"tags": {},
361
"tagGenerators": [],
362
"inherit": [],
363
"maxLatency": 700
364
}
365
]
366
},
367
{
368
"route": "/CreditCardInfo",
369
"downstreamCalls": {},
370
"tagSets": [
371
{
372
"tags": {},
373
"tagGenerators": [],
374
"inherit": [],
375
"maxLatency": 50
376
}
377
]
378
}
379
],
380
"instances": [
381
"paymentservice-6b654dbf57-zq8dt",
382
"paymentservice-d847fdcf5-j6s2f"
383
],
384
"mergedTagSets": {},
385
"random": {
386
"seed": 174850031049111,
387
"nextNextGaussian": 0,
388
"haveNextNextGaussian": false
389
}
390
},
391
{
392
"serviceName": "shippingservice",
393
"tagSets": [
394
{
395
"tags": {
396
"version": "v127",
397
"region": "us-east-1"
398
},
399
"tagGenerators": [],
400
"inherit": []
401
}
402
],
403
"routes": [
404
{
405
"route": "/GetQuote",
406
"downstreamCalls": {
407
"shippingservice": "/Address"
408
},
409
"tagSets": [
410
{
411
"tags": {},
412
"tagGenerators": [],
413
"inherit": [],
414
"maxLatency": 250
415
}
416
]
417
},
418
{
419
"route": "/ShipOrder",
420
"downstreamCalls": {
421
"shippingservice": "/Address"
422
},
423
"tagSets": [
424
{
425
"tags": {},
426
"tagGenerators": [],
427
"inherit": [],
428
"maxLatency": 500
429
}
430
]
431
},
432
{
433
"route": "/Address",
434
"downstreamCalls": {},
435
"tagSets": [
436
{
437
"tags": {},
438
"tagGenerators": [],
439
"inherit": [],
440
"maxLatency": 100
441
}
442
]
443
}
444
],
445
"instances": [
446
"shippingservice-6b654dbf57-zq8dt",
447
"shippingservice-d847fdcf5-j6s2f"
448
],
449
"mergedTagSets": {},
450
"random": {
451
"seed": 107892261530518,
452
"nextNextGaussian": 0,
453
"haveNextNextGaussian": false
454
}
455
},
456
{
457
"serviceName": "emailservice",
458
"tagSets": [
459
{
460
"tags": {
461
"version": "v27",
462
"region": "us-east-1"
463
},
464
"tagGenerators": [],
465
"inherit": [],
466
"maxLatency": 500
467
}
468
],
469
"routes": [
470
{
471
"route": "/SendOrderConfirmation",
472
"downstreamCalls": {
473
"emailservice": "/OrderResult"
474
},
475
"tagSets": [
476
{
477
"weight": 15,
478
"tags": {
479
"error": true,
480
"http.status_code": 503
481
},
482
"tagGenerators": [],
483
"inherit": []
484
},
485
{
486
"weight": 85,
487
"tags": {},
488
"tagGenerators": [],
489
"inherit": []
490
}
491
]
492
},
493
{
494
"route": "/OrderResult",
495
"downstreamCalls": {},
496
"tagSets": [
497
{
498
"tags": {},
499
"tagGenerators": [],
500
"inherit": [],
501
"maxLatency": 100
502
}
503
]
504
}
505
],
506
"instances": [
507
"emailservice-6b654dbf57-zq8dt",
508
"emailservice-d847fdcf5-j6s2f"
509
],
510
"mergedTagSets": {},
511
"random": {
512
"seed": 61175057559946,
513
"nextNextGaussian": 0,
514
"haveNextNextGaussian": false
515
}
516
},
517
{
518
"serviceName": "currencyservice",
519
"tagSets": [
520
{
521
"tags": {
522
"version": "v27",
523
"region": "us-east-1"
524
},
525
"tagGenerators": [],
526
"inherit": []
527
}
528
],
529
"routes": [
530
{
531
"route": "/GetConversion",
532
"downstreamCalls": {
533
"currencyservice": "/Money"
534
},
535
"tagSets": [
536
{
537
"tags": {},
538
"tagGenerators": [],
539
"inherit": [],
540
"maxLatency": 100
541
}
542
]
543
},
544
{
545
"route": "/Money",
546
"downstreamCalls": {},
547
"tagSets": [
548
{
549
"tags": {},
550
"tagGenerators": [],
551
"inherit": [],
552
"maxLatency": 100
553
}
554
]
555
}
556
],
557
"instances": [
558
"currencyservice-6b654dbf57-zq8dt",
559
"currencyservice-d847fdcf5-j6s2f"
560
],
561
"mergedTagSets": {},
562
"random": {
563
"seed": 66219471499700,
564
"nextNextGaussian": 0,
565
"haveNextNextGaussian": false
566
}
567
},
568
{
569
"serviceName": "adservice",
570
"tagSets": [
571
{
572
"tags": {},
573
"tagGenerators": [],
574
"inherit": [],
575
"maxLatency": 500
576
}
577
],
578
"routes": [
579
{
580
"route": "/AdRequest",
581
"downstreamCalls": {},
582
"tagSets": []
583
},
584
{
585
"route": "/Ad",
586
"downstreamCalls": {},
587
"tagSets": []
588
}
589
],
590
"instances": [
591
"adservice-6b654dbf57-zq8dt",
592
"adservice-d847fdcf5-j6s2f"
593
],
594
"mergedTagSets": {},
595
"random": {
596
"seed": 22694143111805,
597
"nextNextGaussian": 0,
598
"haveNextNextGaussian": false
599
}
600
}
601
]
602
},
603
"rootRoutes": [
604
{
605
"service": "frontend",
606
"route": "/product",
607
"tracesPerHour": 288
608
},
609
{
610
"service": "frontend",
611
"route": "/cart",
612
"tracesPerHour": 1440
613
},
614
{
615
"service": "frontend",
616
"route": "/shipping",
617
"tracesPerHour": 48
618
},
619
{
620
"service": "frontend",
621
"route": "/currency",
622
"tracesPerHour": 20
623
},
624
{
625
"service": "frontend",
626
"route": "/checkout",
627
"tracesPerHour": 48
628
}
629
]
630
}
631