opentelemetry-collector.json 91 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365
  1. {
  2. "__inputs": [],
  3. "__elements": {},
  4. "__requires": [
  5. {
  6. "type": "grafana",
  7. "id": "grafana",
  8. "name": "Grafana",
  9. "version": "10.0.3"
  10. },
  11. {
  12. "type": "panel",
  13. "id": "heatmap",
  14. "name": "Heatmap",
  15. "version": ""
  16. },
  17. {
  18. "type": "panel",
  19. "id": "nodeGraph",
  20. "name": "Node Graph",
  21. "version": ""
  22. },
  23. {
  24. "type": "datasource",
  25. "id": "prometheus",
  26. "name": "Prometheus",
  27. "version": "1.0.0"
  28. },
  29. {
  30. "type": "panel",
  31. "id": "table",
  32. "name": "Table",
  33. "version": ""
  34. },
  35. {
  36. "type": "panel",
  37. "id": "text",
  38. "name": "Text",
  39. "version": ""
  40. },
  41. {
  42. "type": "panel",
  43. "id": "timeseries",
  44. "name": "Time series",
  45. "version": ""
  46. }
  47. ],
  48. "annotations": {
  49. "list": [
  50. {
  51. "builtIn": 1,
  52. "datasource": {
  53. "type": "datasource",
  54. "uid": "grafana"
  55. },
  56. "enable": true,
  57. "hide": true,
  58. "iconColor": "rgba(0, 211, 255, 1)",
  59. "name": "Annotations & Alerts",
  60. "target": {
  61. "limit": 100,
  62. "matchAny": false,
  63. "tags": [],
  64. "type": "dashboard"
  65. },
  66. "type": "dashboard"
  67. }
  68. ]
  69. },
  70. "description": "Visualize OpenTelemetry (OTEL) collector metrics (tested with OTEL contrib v0.84.0)",
  71. "editable": true,
  72. "fiscalYearStartMonth": 0,
  73. "gnetId": 15983,
  74. "graphTooltip": 1,
  75. "id": null,
  76. "links": [],
  77. "liveNow": false,
  78. "panels": [
  79. {
  80. "collapsed": false,
  81. "datasource": {
  82. "type": "prometheus",
  83. "uid": "$datasource"
  84. },
  85. "gridPos": {
  86. "h": 1,
  87. "w": 24,
  88. "x": 0,
  89. "y": 0
  90. },
  91. "id": 23,
  92. "panels": [],
  93. "targets": [
  94. {
  95. "datasource": {
  96. "type": "prometheus",
  97. "uid": "$datasource"
  98. },
  99. "refId": "A"
  100. }
  101. ],
  102. "title": "Receivers",
  103. "type": "row"
  104. },
  105. {
  106. "datasource": {
  107. "type": "prometheus",
  108. "uid": "$datasource"
  109. },
  110. "description": "Accepted: count/rate of spans successfully pushed into the pipeline.\nRefused: count/rate of spans that could not be pushed into the pipeline.",
  111. "fieldConfig": {
  112. "defaults": {
  113. "color": {
  114. "mode": "palette-classic"
  115. },
  116. "custom": {
  117. "axisCenteredZero": false,
  118. "axisColorMode": "text",
  119. "axisLabel": "",
  120. "axisPlacement": "auto",
  121. "barAlignment": 0,
  122. "drawStyle": "line",
  123. "fillOpacity": 0,
  124. "gradientMode": "none",
  125. "hideFrom": {
  126. "legend": false,
  127. "tooltip": false,
  128. "viz": false
  129. },
  130. "lineInterpolation": "linear",
  131. "lineWidth": 1,
  132. "pointSize": 5,
  133. "scaleDistribution": {
  134. "type": "linear"
  135. },
  136. "showPoints": "never",
  137. "spanNulls": true,
  138. "stacking": {
  139. "group": "A",
  140. "mode": "none"
  141. },
  142. "thresholdsStyle": {
  143. "mode": "off"
  144. }
  145. },
  146. "links": [],
  147. "mappings": [],
  148. "min": 0,
  149. "thresholds": {
  150. "mode": "absolute",
  151. "steps": [
  152. {
  153. "color": "green",
  154. "value": null
  155. },
  156. {
  157. "color": "red",
  158. "value": 80
  159. }
  160. ]
  161. },
  162. "unit": "short"
  163. },
  164. "overrides": [
  165. {
  166. "matcher": {
  167. "id": "byRegexp",
  168. "options": "/Refused.*/"
  169. },
  170. "properties": [
  171. {
  172. "id": "color",
  173. "value": {
  174. "fixedColor": "red",
  175. "mode": "fixed"
  176. }
  177. }
  178. ]
  179. }
  180. ]
  181. },
  182. "gridPos": {
  183. "h": 8,
  184. "w": 8,
  185. "x": 0,
  186. "y": 1
  187. },
  188. "id": 28,
  189. "interval": "$minstep",
  190. "links": [],
  191. "options": {
  192. "legend": {
  193. "calcs": [
  194. "min",
  195. "max",
  196. "mean"
  197. ],
  198. "displayMode": "table",
  199. "placement": "bottom",
  200. "showLegend": true
  201. },
  202. "tooltip": {
  203. "mode": "multi",
  204. "sort": "none"
  205. }
  206. },
  207. "pluginVersion": "8.3.5",
  208. "targets": [
  209. {
  210. "datasource": {
  211. "type": "prometheus",
  212. "uid": "$datasource"
  213. },
  214. "editorMode": "code",
  215. "exemplar": true,
  216. "expr": "sum(${metric:value}(otelcol_receiver_accepted_spans{receiver=~\"$receiver\",job=\"$job\"}[$__rate_interval])) by (receiver $grouping)",
  217. "format": "time_series",
  218. "interval": "$minstep",
  219. "intervalFactor": 1,
  220. "legendFormat": "Accepted: {{receiver}} {{transport}} {{service_instance_id}}",
  221. "range": true,
  222. "refId": "A"
  223. },
  224. {
  225. "datasource": {
  226. "type": "prometheus",
  227. "uid": "$datasource"
  228. },
  229. "editorMode": "code",
  230. "exemplar": true,
  231. "expr": "sum(${metric:value}(otelcol_receiver_refused_spans{receiver=~\"$receiver\",job=\"$job\"}[$__rate_interval])) by (receiver $grouping)",
  232. "format": "time_series",
  233. "hide": false,
  234. "interval": "$minstep",
  235. "intervalFactor": 1,
  236. "legendFormat": "Refused: {{receiver}} {{transport}} {{service_instance_id}}",
  237. "range": true,
  238. "refId": "B"
  239. }
  240. ],
  241. "title": "Spans ${metric:text}",
  242. "type": "timeseries"
  243. },
  244. {
  245. "datasource": {
  246. "type": "prometheus",
  247. "uid": "$datasource"
  248. },
  249. "description": "Accepted: count/rate of metric points successfully pushed into the pipeline.\nRefused: count/rate of metric points that could not be pushed into the pipeline.",
  250. "fieldConfig": {
  251. "defaults": {
  252. "color": {
  253. "mode": "palette-classic"
  254. },
  255. "custom": {
  256. "axisCenteredZero": false,
  257. "axisColorMode": "text",
  258. "axisLabel": "",
  259. "axisPlacement": "auto",
  260. "barAlignment": 0,
  261. "drawStyle": "line",
  262. "fillOpacity": 0,
  263. "gradientMode": "none",
  264. "hideFrom": {
  265. "legend": false,
  266. "tooltip": false,
  267. "viz": false
  268. },
  269. "lineInterpolation": "linear",
  270. "lineWidth": 1,
  271. "pointSize": 5,
  272. "scaleDistribution": {
  273. "type": "linear"
  274. },
  275. "showPoints": "never",
  276. "spanNulls": true,
  277. "stacking": {
  278. "group": "A",
  279. "mode": "none"
  280. },
  281. "thresholdsStyle": {
  282. "mode": "off"
  283. }
  284. },
  285. "links": [],
  286. "mappings": [],
  287. "min": 0,
  288. "thresholds": {
  289. "mode": "absolute",
  290. "steps": [
  291. {
  292. "color": "green",
  293. "value": null
  294. },
  295. {
  296. "color": "red",
  297. "value": 80
  298. }
  299. ]
  300. },
  301. "unit": "short"
  302. },
  303. "overrides": [
  304. {
  305. "matcher": {
  306. "id": "byRegexp",
  307. "options": "/Refused.*/"
  308. },
  309. "properties": [
  310. {
  311. "id": "color",
  312. "value": {
  313. "fixedColor": "red",
  314. "mode": "fixed"
  315. }
  316. }
  317. ]
  318. }
  319. ]
  320. },
  321. "gridPos": {
  322. "h": 8,
  323. "w": 8,
  324. "x": 8,
  325. "y": 1
  326. },
  327. "id": 32,
  328. "interval": "$minstep",
  329. "links": [],
  330. "options": {
  331. "legend": {
  332. "calcs": [
  333. "min",
  334. "max",
  335. "mean"
  336. ],
  337. "displayMode": "table",
  338. "placement": "bottom",
  339. "showLegend": true
  340. },
  341. "tooltip": {
  342. "mode": "multi",
  343. "sort": "none"
  344. }
  345. },
  346. "pluginVersion": "8.3.5",
  347. "targets": [
  348. {
  349. "datasource": {
  350. "type": "prometheus",
  351. "uid": "$datasource"
  352. },
  353. "editorMode": "code",
  354. "exemplar": true,
  355. "expr": "sum(${metric:value}(otelcol_receiver_accepted_metric_points{receiver=~\"$receiver\",job=\"$job\"}[$__rate_interval])) by (receiver $grouping)",
  356. "format": "time_series",
  357. "interval": "$minstep",
  358. "intervalFactor": 1,
  359. "legendFormat": "Accepted: {{receiver}} {{transport}} {{service_instance_id}}",
  360. "range": true,
  361. "refId": "A"
  362. },
  363. {
  364. "datasource": {
  365. "type": "prometheus",
  366. "uid": "$datasource"
  367. },
  368. "editorMode": "code",
  369. "exemplar": true,
  370. "expr": "sum(${metric:value}(otelcol_receiver_refused_metric_points{receiver=~\"$receiver\",job=\"$job\"}[$__rate_interval])) by (receiver $grouping)",
  371. "format": "time_series",
  372. "hide": false,
  373. "interval": "$minstep",
  374. "intervalFactor": 1,
  375. "legendFormat": "Refused: {{receiver}} {{transport}} {{service_instance_id}}",
  376. "range": true,
  377. "refId": "B"
  378. }
  379. ],
  380. "title": "Metric Points ${metric:text}",
  381. "type": "timeseries"
  382. },
  383. {
  384. "datasource": {
  385. "type": "prometheus",
  386. "uid": "$datasource"
  387. },
  388. "description": "Accepted: count/rate of log records successfully pushed into the pipeline.\nRefused: count/rate of log records that could not be pushed into the pipeline.",
  389. "fieldConfig": {
  390. "defaults": {
  391. "color": {
  392. "mode": "palette-classic"
  393. },
  394. "custom": {
  395. "axisCenteredZero": false,
  396. "axisColorMode": "text",
  397. "axisLabel": "",
  398. "axisPlacement": "auto",
  399. "barAlignment": 0,
  400. "drawStyle": "line",
  401. "fillOpacity": 0,
  402. "gradientMode": "none",
  403. "hideFrom": {
  404. "legend": false,
  405. "tooltip": false,
  406. "viz": false
  407. },
  408. "lineInterpolation": "linear",
  409. "lineWidth": 1,
  410. "pointSize": 5,
  411. "scaleDistribution": {
  412. "type": "linear"
  413. },
  414. "showPoints": "never",
  415. "spanNulls": true,
  416. "stacking": {
  417. "group": "A",
  418. "mode": "none"
  419. },
  420. "thresholdsStyle": {
  421. "mode": "off"
  422. }
  423. },
  424. "links": [],
  425. "mappings": [],
  426. "min": 0,
  427. "thresholds": {
  428. "mode": "absolute",
  429. "steps": [
  430. {
  431. "color": "green",
  432. "value": null
  433. },
  434. {
  435. "color": "red",
  436. "value": 80
  437. }
  438. ]
  439. },
  440. "unit": "short"
  441. },
  442. "overrides": [
  443. {
  444. "matcher": {
  445. "id": "byRegexp",
  446. "options": "/Refused.*/"
  447. },
  448. "properties": [
  449. {
  450. "id": "color",
  451. "value": {
  452. "fixedColor": "red",
  453. "mode": "fixed"
  454. }
  455. }
  456. ]
  457. }
  458. ]
  459. },
  460. "gridPos": {
  461. "h": 8,
  462. "w": 8,
  463. "x": 16,
  464. "y": 1
  465. },
  466. "id": 47,
  467. "interval": "$minstep",
  468. "links": [],
  469. "options": {
  470. "legend": {
  471. "calcs": [
  472. "min",
  473. "max",
  474. "mean"
  475. ],
  476. "displayMode": "table",
  477. "placement": "bottom",
  478. "showLegend": true
  479. },
  480. "tooltip": {
  481. "mode": "multi",
  482. "sort": "none"
  483. }
  484. },
  485. "pluginVersion": "8.3.5",
  486. "targets": [
  487. {
  488. "datasource": {
  489. "type": "prometheus",
  490. "uid": "$datasource"
  491. },
  492. "editorMode": "code",
  493. "exemplar": true,
  494. "expr": "sum(${metric:value}(otelcol_receiver_accepted_log_records{receiver=~\"$receiver\",job=\"$job\"}[$__rate_interval])) by (receiver $grouping)",
  495. "format": "time_series",
  496. "interval": "$minstep",
  497. "intervalFactor": 1,
  498. "legendFormat": "Accepted: {{receiver}} {{transport}} {{service_instance_id}}",
  499. "range": true,
  500. "refId": "A"
  501. },
  502. {
  503. "datasource": {
  504. "type": "prometheus",
  505. "uid": "$datasource"
  506. },
  507. "editorMode": "code",
  508. "exemplar": true,
  509. "expr": "sum(${metric:value}(otelcol_receiver_refused_log_records{receiver=~\"$receiver\",job=\"$job\"}[$__rate_interval])) by (receiver $grouping)",
  510. "format": "time_series",
  511. "hide": false,
  512. "interval": "$minstep",
  513. "intervalFactor": 1,
  514. "legendFormat": "Refused: {{receiver}} {{transport}} {{service_instance_id}}",
  515. "range": true,
  516. "refId": "B"
  517. }
  518. ],
  519. "title": "Log Records ${metric:text}",
  520. "type": "timeseries"
  521. },
  522. {
  523. "collapsed": false,
  524. "datasource": {
  525. "type": "prometheus",
  526. "uid": "$datasource"
  527. },
  528. "gridPos": {
  529. "h": 1,
  530. "w": 24,
  531. "x": 0,
  532. "y": 9
  533. },
  534. "id": 34,
  535. "panels": [],
  536. "targets": [
  537. {
  538. "datasource": {
  539. "type": "prometheus",
  540. "uid": "$datasource"
  541. },
  542. "refId": "A"
  543. }
  544. ],
  545. "title": "Processors",
  546. "type": "row"
  547. },
  548. {
  549. "datasource": {
  550. "type": "prometheus",
  551. "uid": "$datasource"
  552. },
  553. "description": "",
  554. "fieldConfig": {
  555. "defaults": {
  556. "color": {
  557. "mode": "palette-classic"
  558. },
  559. "custom": {
  560. "axisCenteredZero": false,
  561. "axisColorMode": "text",
  562. "axisLabel": "",
  563. "axisPlacement": "auto",
  564. "barAlignment": 0,
  565. "drawStyle": "line",
  566. "fillOpacity": 0,
  567. "gradientMode": "none",
  568. "hideFrom": {
  569. "legend": false,
  570. "tooltip": false,
  571. "viz": false
  572. },
  573. "lineInterpolation": "linear",
  574. "lineWidth": 1,
  575. "pointSize": 5,
  576. "scaleDistribution": {
  577. "type": "linear"
  578. },
  579. "showPoints": "never",
  580. "spanNulls": true,
  581. "stacking": {
  582. "group": "A",
  583. "mode": "none"
  584. },
  585. "thresholdsStyle": {
  586. "mode": "off"
  587. }
  588. },
  589. "links": [],
  590. "mappings": [],
  591. "min": 0,
  592. "thresholds": {
  593. "mode": "absolute",
  594. "steps": [
  595. {
  596. "color": "green",
  597. "value": null
  598. },
  599. {
  600. "color": "red",
  601. "value": 80
  602. }
  603. ]
  604. },
  605. "unit": "short"
  606. },
  607. "overrides": [
  608. {
  609. "matcher": {
  610. "id": "byRegexp",
  611. "options": "/.*Refused.*/"
  612. },
  613. "properties": [
  614. {
  615. "id": "color",
  616. "value": {
  617. "fixedColor": "red",
  618. "mode": "fixed"
  619. }
  620. }
  621. ]
  622. },
  623. {
  624. "matcher": {
  625. "id": "byRegexp",
  626. "options": "/.*Dropped.*/"
  627. },
  628. "properties": [
  629. {
  630. "id": "color",
  631. "value": {
  632. "fixedColor": "purple",
  633. "mode": "fixed"
  634. }
  635. }
  636. ]
  637. }
  638. ]
  639. },
  640. "gridPos": {
  641. "h": 8,
  642. "w": 8,
  643. "x": 0,
  644. "y": 18
  645. },
  646. "id": 36,
  647. "interval": "$minstep",
  648. "links": [],
  649. "options": {
  650. "legend": {
  651. "calcs": [
  652. "min",
  653. "max",
  654. "mean"
  655. ],
  656. "displayMode": "table",
  657. "placement": "bottom",
  658. "showLegend": true
  659. },
  660. "tooltip": {
  661. "mode": "multi",
  662. "sort": "none"
  663. }
  664. },
  665. "pluginVersion": "8.3.5",
  666. "targets": [
  667. {
  668. "datasource": {
  669. "type": "prometheus",
  670. "uid": "$datasource"
  671. },
  672. "editorMode": "code",
  673. "exemplar": true,
  674. "expr": "sum(${metric:value}(otelcol_processor_batch_batch_send_size_count{processor=~\"$processor\",job=\"$job\"}[$__rate_interval])) by (processor)",
  675. "format": "time_series",
  676. "hide": false,
  677. "instant": false,
  678. "interval": "$minstep",
  679. "intervalFactor": 1,
  680. "legendFormat": "Batch send size count: {{processor}}",
  681. "refId": "B"
  682. },
  683. {
  684. "datasource": {
  685. "type": "prometheus",
  686. "uid": "$datasource"
  687. },
  688. "editorMode": "code",
  689. "exemplar": true,
  690. "expr": "sum(${metric:value}(otelcol_processor_batch_batch_send_size_sum{processor=~\"$processor\",job=\"$job\"}[$__rate_interval])) by (processor)",
  691. "format": "time_series",
  692. "hide": false,
  693. "instant": false,
  694. "interval": "$minstep",
  695. "intervalFactor": 1,
  696. "legendFormat": "Batch send size sum: {{processor}}",
  697. "refId": "A"
  698. }
  699. ],
  700. "title": "Batch Metrics",
  701. "type": "timeseries"
  702. },
  703. {
  704. "datasource": {
  705. "type": "prometheus",
  706. "uid": "$datasource"
  707. },
  708. "description": "Number of units in the batch",
  709. "fieldConfig": {
  710. "defaults": {
  711. "custom": {
  712. "hideFrom": {
  713. "legend": false,
  714. "tooltip": false,
  715. "viz": false
  716. },
  717. "scaleDistribution": {
  718. "type": "linear"
  719. }
  720. },
  721. "links": []
  722. },
  723. "overrides": []
  724. },
  725. "gridPos": {
  726. "h": 8,
  727. "w": 8,
  728. "x": 8,
  729. "y": 18
  730. },
  731. "id": 49,
  732. "interval": "$minstep",
  733. "links": [],
  734. "maxDataPoints": 50,
  735. "options": {
  736. "calculate": false,
  737. "cellGap": 1,
  738. "color": {
  739. "exponent": 0.5,
  740. "fill": "dark-orange",
  741. "mode": "scheme",
  742. "reverse": true,
  743. "scale": "exponential",
  744. "scheme": "Reds",
  745. "steps": 57
  746. },
  747. "exemplars": {
  748. "color": "rgba(255,0,255,0.7)"
  749. },
  750. "filterValues": {
  751. "le": 1e-9
  752. },
  753. "legend": {
  754. "show": true
  755. },
  756. "rowsFrame": {
  757. "layout": "auto"
  758. },
  759. "tooltip": {
  760. "show": true,
  761. "yHistogram": false
  762. },
  763. "yAxis": {
  764. "axisPlacement": "left",
  765. "reverse": false
  766. }
  767. },
  768. "pluginVersion": "10.0.3",
  769. "targets": [
  770. {
  771. "datasource": {
  772. "type": "prometheus",
  773. "uid": "$datasource"
  774. },
  775. "editorMode": "code",
  776. "exemplar": true,
  777. "expr": "sum(increase(otelcol_processor_batch_batch_send_size_bucket{processor=~\"$processor\",job=\"$job\"}[$__rate_interval])) by (le)",
  778. "format": "heatmap",
  779. "hide": false,
  780. "instant": false,
  781. "interval": "$minstep",
  782. "intervalFactor": 1,
  783. "legendFormat": "{{le}}",
  784. "refId": "B"
  785. }
  786. ],
  787. "title": "Batch Send Size Heatmap",
  788. "type": "heatmap"
  789. },
  790. {
  791. "datasource": {
  792. "type": "prometheus",
  793. "uid": "$datasource"
  794. },
  795. "description": "Number of times the batch was sent due to a size trigger. Number of times the batch was sent due to a timeout trigger.",
  796. "fieldConfig": {
  797. "defaults": {
  798. "color": {
  799. "mode": "palette-classic"
  800. },
  801. "custom": {
  802. "axisCenteredZero": false,
  803. "axisColorMode": "text",
  804. "axisLabel": "",
  805. "axisPlacement": "auto",
  806. "barAlignment": 0,
  807. "drawStyle": "line",
  808. "fillOpacity": 0,
  809. "gradientMode": "none",
  810. "hideFrom": {
  811. "legend": false,
  812. "tooltip": false,
  813. "viz": false
  814. },
  815. "lineInterpolation": "linear",
  816. "lineWidth": 1,
  817. "pointSize": 5,
  818. "scaleDistribution": {
  819. "type": "linear"
  820. },
  821. "showPoints": "never",
  822. "spanNulls": true,
  823. "stacking": {
  824. "group": "A",
  825. "mode": "none"
  826. },
  827. "thresholdsStyle": {
  828. "mode": "off"
  829. }
  830. },
  831. "links": [],
  832. "mappings": [],
  833. "min": 0,
  834. "thresholds": {
  835. "mode": "absolute",
  836. "steps": [
  837. {
  838. "color": "green",
  839. "value": null
  840. },
  841. {
  842. "color": "red",
  843. "value": 80
  844. }
  845. ]
  846. },
  847. "unit": "short"
  848. },
  849. "overrides": [
  850. {
  851. "matcher": {
  852. "id": "byRegexp",
  853. "options": "/.*Refused.*/"
  854. },
  855. "properties": [
  856. {
  857. "id": "color",
  858. "value": {
  859. "fixedColor": "red",
  860. "mode": "fixed"
  861. }
  862. }
  863. ]
  864. },
  865. {
  866. "matcher": {
  867. "id": "byRegexp",
  868. "options": "/.*Dropped.*/"
  869. },
  870. "properties": [
  871. {
  872. "id": "color",
  873. "value": {
  874. "fixedColor": "purple",
  875. "mode": "fixed"
  876. }
  877. }
  878. ]
  879. }
  880. ]
  881. },
  882. "gridPos": {
  883. "h": 8,
  884. "w": 8,
  885. "x": 16,
  886. "y": 18
  887. },
  888. "id": 56,
  889. "interval": "$minstep",
  890. "links": [],
  891. "options": {
  892. "legend": {
  893. "calcs": [
  894. "min",
  895. "max",
  896. "mean"
  897. ],
  898. "displayMode": "table",
  899. "placement": "bottom",
  900. "showLegend": true
  901. },
  902. "tooltip": {
  903. "mode": "multi",
  904. "sort": "none"
  905. }
  906. },
  907. "pluginVersion": "8.3.5",
  908. "targets": [
  909. {
  910. "datasource": {
  911. "type": "prometheus",
  912. "uid": "$datasource"
  913. },
  914. "editorMode": "code",
  915. "exemplar": true,
  916. "expr": "sum(${metric:value}(otelcol_processor_batch_batch_size_trigger_send{processor=~\"$processor\",job=\"$job\"}[$__rate_interval])) by (processor)",
  917. "format": "time_series",
  918. "hide": false,
  919. "instant": false,
  920. "interval": "$minstep",
  921. "intervalFactor": 1,
  922. "legendFormat": "Batch sent due to a size trigger: {{processor}}",
  923. "refId": "B"
  924. },
  925. {
  926. "datasource": {
  927. "type": "prometheus",
  928. "uid": "$datasource"
  929. },
  930. "editorMode": "code",
  931. "exemplar": true,
  932. "expr": "sum(${metric:value}(otelcol_processor_batch_timeout_trigger_send{processor=~\"$processor\"}[$__rate_interval])) by (processor)",
  933. "format": "time_series",
  934. "hide": false,
  935. "instant": false,
  936. "interval": "$minstep",
  937. "intervalFactor": 1,
  938. "legendFormat": "Batch sent due to a timeout trigger: {{processor}}",
  939. "refId": "A"
  940. }
  941. ],
  942. "title": "Batch Metrics",
  943. "type": "timeseries"
  944. },
  945. {
  946. "collapsed": false,
  947. "datasource": {
  948. "type": "prometheus",
  949. "uid": "$datasource"
  950. },
  951. "gridPos": {
  952. "h": 1,
  953. "w": 24,
  954. "x": 0,
  955. "y": 26
  956. },
  957. "id": 25,
  958. "panels": [],
  959. "targets": [
  960. {
  961. "datasource": {
  962. "type": "prometheus",
  963. "uid": "$datasource"
  964. },
  965. "refId": "A"
  966. }
  967. ],
  968. "title": "Exporters",
  969. "type": "row"
  970. },
  971. {
  972. "datasource": {
  973. "type": "prometheus",
  974. "uid": "$datasource"
  975. },
  976. "description": "Sent: count/rate of spans successfully sent to destination.\nEngueue: count/rate of spans failed to be added to the sending queue.",
  977. "fieldConfig": {
  978. "defaults": {
  979. "color": {
  980. "mode": "palette-classic"
  981. },
  982. "custom": {
  983. "axisCenteredZero": false,
  984. "axisColorMode": "text",
  985. "axisLabel": "",
  986. "axisPlacement": "auto",
  987. "barAlignment": 0,
  988. "drawStyle": "line",
  989. "fillOpacity": 0,
  990. "gradientMode": "none",
  991. "hideFrom": {
  992. "legend": false,
  993. "tooltip": false,
  994. "viz": false
  995. },
  996. "lineInterpolation": "linear",
  997. "lineWidth": 1,
  998. "pointSize": 5,
  999. "scaleDistribution": {
  1000. "type": "linear"
  1001. },
  1002. "showPoints": "never",
  1003. "spanNulls": true,
  1004. "stacking": {
  1005. "group": "A",
  1006. "mode": "none"
  1007. },
  1008. "thresholdsStyle": {
  1009. "mode": "off"
  1010. }
  1011. },
  1012. "links": [],
  1013. "mappings": [],
  1014. "min": 0,
  1015. "thresholds": {
  1016. "mode": "absolute",
  1017. "steps": [
  1018. {
  1019. "color": "green",
  1020. "value": null
  1021. },
  1022. {
  1023. "color": "red",
  1024. "value": 80
  1025. }
  1026. ]
  1027. },
  1028. "unit": "short"
  1029. },
  1030. "overrides": [
  1031. {
  1032. "matcher": {
  1033. "id": "byRegexp",
  1034. "options": "/Failed:.*/"
  1035. },
  1036. "properties": [
  1037. {
  1038. "id": "color",
  1039. "value": {
  1040. "fixedColor": "red",
  1041. "mode": "fixed"
  1042. }
  1043. }
  1044. ]
  1045. }
  1046. ]
  1047. },
  1048. "gridPos": {
  1049. "h": 9,
  1050. "w": 8,
  1051. "x": 0,
  1052. "y": 27
  1053. },
  1054. "id": 37,
  1055. "interval": "$minstep",
  1056. "links": [],
  1057. "options": {
  1058. "legend": {
  1059. "calcs": [
  1060. "min",
  1061. "max",
  1062. "mean"
  1063. ],
  1064. "displayMode": "table",
  1065. "placement": "bottom",
  1066. "showLegend": true
  1067. },
  1068. "tooltip": {
  1069. "mode": "multi",
  1070. "sort": "none"
  1071. }
  1072. },
  1073. "pluginVersion": "8.3.5",
  1074. "targets": [
  1075. {
  1076. "datasource": {
  1077. "type": "prometheus",
  1078. "uid": "$datasource"
  1079. },
  1080. "editorMode": "code",
  1081. "exemplar": true,
  1082. "expr": "sum(${metric:value}(otelcol_exporter_sent_spans{exporter=~\"$exporter\",job=\"$job\"}[$__rate_interval])) by (exporter $grouping)",
  1083. "format": "time_series",
  1084. "interval": "$minstep",
  1085. "intervalFactor": 1,
  1086. "legendFormat": "Sent: {{exporter}} {{service_instance_id}}",
  1087. "range": true,
  1088. "refId": "A"
  1089. },
  1090. {
  1091. "datasource": {
  1092. "type": "prometheus",
  1093. "uid": "$datasource"
  1094. },
  1095. "editorMode": "code",
  1096. "exemplar": true,
  1097. "expr": "sum(${metric:value}(otelcol_exporter_enqueue_failed_spans{exporter=~\"$exporter\",job=\"$job\"}[$__rate_interval])) by (exporter $grouping)",
  1098. "format": "time_series",
  1099. "hide": false,
  1100. "interval": "$minstep",
  1101. "intervalFactor": 1,
  1102. "legendFormat": "Enqueue: {{exporter}} {{service_instance_id}}",
  1103. "range": true,
  1104. "refId": "B"
  1105. },
  1106. {
  1107. "datasource": {
  1108. "type": "prometheus",
  1109. "uid": "$datasource"
  1110. },
  1111. "editorMode": "code",
  1112. "exemplar": true,
  1113. "expr": "sum(${metric:value}(otelcol_exporter_send_failed_spans{exporter=~\"$exporter\",job=\"$job\"}[$__rate_interval])) by (exporter $grouping)",
  1114. "format": "time_series",
  1115. "hide": false,
  1116. "interval": "$minstep",
  1117. "intervalFactor": 1,
  1118. "legendFormat": "Failed: {{exporter}} {{service_instance_id}}",
  1119. "range": true,
  1120. "refId": "C"
  1121. }
  1122. ],
  1123. "title": "Spans ${metric:text}",
  1124. "type": "timeseries"
  1125. },
  1126. {
  1127. "datasource": {
  1128. "type": "prometheus",
  1129. "uid": "$datasource"
  1130. },
  1131. "description": "Sent: count/rate of metric points successfully sent to destination.\nEngueue: count/rate of metric points failed to be added to the sending queue.",
  1132. "fieldConfig": {
  1133. "defaults": {
  1134. "color": {
  1135. "mode": "palette-classic"
  1136. },
  1137. "custom": {
  1138. "axisCenteredZero": false,
  1139. "axisColorMode": "text",
  1140. "axisLabel": "",
  1141. "axisPlacement": "auto",
  1142. "barAlignment": 0,
  1143. "drawStyle": "line",
  1144. "fillOpacity": 0,
  1145. "gradientMode": "none",
  1146. "hideFrom": {
  1147. "legend": false,
  1148. "tooltip": false,
  1149. "viz": false
  1150. },
  1151. "lineInterpolation": "linear",
  1152. "lineWidth": 1,
  1153. "pointSize": 5,
  1154. "scaleDistribution": {
  1155. "type": "linear"
  1156. },
  1157. "showPoints": "never",
  1158. "spanNulls": true,
  1159. "stacking": {
  1160. "group": "A",
  1161. "mode": "none"
  1162. },
  1163. "thresholdsStyle": {
  1164. "mode": "off"
  1165. }
  1166. },
  1167. "links": [],
  1168. "mappings": [],
  1169. "min": 0,
  1170. "thresholds": {
  1171. "mode": "absolute",
  1172. "steps": [
  1173. {
  1174. "color": "green",
  1175. "value": null
  1176. },
  1177. {
  1178. "color": "red",
  1179. "value": 80
  1180. }
  1181. ]
  1182. },
  1183. "unit": "short"
  1184. },
  1185. "overrides": [
  1186. {
  1187. "matcher": {
  1188. "id": "byRegexp",
  1189. "options": "/Failed:.*/"
  1190. },
  1191. "properties": [
  1192. {
  1193. "id": "color",
  1194. "value": {
  1195. "fixedColor": "red",
  1196. "mode": "fixed"
  1197. }
  1198. }
  1199. ]
  1200. }
  1201. ]
  1202. },
  1203. "gridPos": {
  1204. "h": 9,
  1205. "w": 8,
  1206. "x": 8,
  1207. "y": 27
  1208. },
  1209. "id": 38,
  1210. "interval": "$minstep",
  1211. "links": [],
  1212. "options": {
  1213. "legend": {
  1214. "calcs": [
  1215. "min",
  1216. "max",
  1217. "mean"
  1218. ],
  1219. "displayMode": "table",
  1220. "placement": "bottom",
  1221. "showLegend": true
  1222. },
  1223. "tooltip": {
  1224. "mode": "multi",
  1225. "sort": "none"
  1226. }
  1227. },
  1228. "pluginVersion": "8.3.5",
  1229. "targets": [
  1230. {
  1231. "datasource": {
  1232. "type": "prometheus",
  1233. "uid": "$datasource"
  1234. },
  1235. "editorMode": "code",
  1236. "exemplar": true,
  1237. "expr": "sum(${metric:value}(otelcol_exporter_sent_metric_points{exporter=~\"$exporter\",job=\"$job\"}[$__rate_interval])) by (exporter $grouping)",
  1238. "format": "time_series",
  1239. "interval": "$minstep",
  1240. "intervalFactor": 1,
  1241. "legendFormat": "Sent: {{exporter}} {{service_instance_id}}",
  1242. "range": true,
  1243. "refId": "A"
  1244. },
  1245. {
  1246. "datasource": {
  1247. "type": "prometheus",
  1248. "uid": "$datasource"
  1249. },
  1250. "editorMode": "code",
  1251. "exemplar": true,
  1252. "expr": "sum(${metric:value}(otelcol_exporter_enqueue_failed_metric_points{exporter=~\"$exporter\",job=\"$job\"}[$__rate_interval])) by (exporter $grouping)",
  1253. "format": "time_series",
  1254. "hide": false,
  1255. "interval": "$minstep",
  1256. "intervalFactor": 1,
  1257. "legendFormat": "Enqueue: {{exporter}} {{service_instance_id}}",
  1258. "range": true,
  1259. "refId": "B"
  1260. },
  1261. {
  1262. "datasource": {
  1263. "type": "prometheus",
  1264. "uid": "$datasource"
  1265. },
  1266. "editorMode": "code",
  1267. "exemplar": true,
  1268. "expr": "sum(${metric:value}(otelcol_exporter_send_failed_metric_points{exporter=~\"$exporter\",job=\"$job\"}[$__rate_interval])) by (exporter $grouping)",
  1269. "format": "time_series",
  1270. "hide": false,
  1271. "interval": "$minstep",
  1272. "intervalFactor": 1,
  1273. "legendFormat": "Failed: {{exporter}} {{service_instance_id}}",
  1274. "range": true,
  1275. "refId": "C"
  1276. }
  1277. ],
  1278. "title": "Metric Points ${metric:text}",
  1279. "type": "timeseries"
  1280. },
  1281. {
  1282. "datasource": {
  1283. "type": "prometheus",
  1284. "uid": "$datasource"
  1285. },
  1286. "description": "Sent: count/rate of log records successfully sent to destination.\nEngueue: count/rate of log records failed to be added to the sending queue.",
  1287. "fieldConfig": {
  1288. "defaults": {
  1289. "color": {
  1290. "mode": "palette-classic"
  1291. },
  1292. "custom": {
  1293. "axisCenteredZero": false,
  1294. "axisColorMode": "text",
  1295. "axisLabel": "",
  1296. "axisPlacement": "auto",
  1297. "barAlignment": 0,
  1298. "drawStyle": "line",
  1299. "fillOpacity": 0,
  1300. "gradientMode": "none",
  1301. "hideFrom": {
  1302. "legend": false,
  1303. "tooltip": false,
  1304. "viz": false
  1305. },
  1306. "lineInterpolation": "linear",
  1307. "lineWidth": 1,
  1308. "pointSize": 5,
  1309. "scaleDistribution": {
  1310. "type": "linear"
  1311. },
  1312. "showPoints": "never",
  1313. "spanNulls": true,
  1314. "stacking": {
  1315. "group": "A",
  1316. "mode": "none"
  1317. },
  1318. "thresholdsStyle": {
  1319. "mode": "off"
  1320. }
  1321. },
  1322. "links": [],
  1323. "mappings": [],
  1324. "min": 0,
  1325. "thresholds": {
  1326. "mode": "absolute",
  1327. "steps": [
  1328. {
  1329. "color": "green",
  1330. "value": null
  1331. },
  1332. {
  1333. "color": "red",
  1334. "value": 80
  1335. }
  1336. ]
  1337. },
  1338. "unit": "short"
  1339. },
  1340. "overrides": [
  1341. {
  1342. "matcher": {
  1343. "id": "byRegexp",
  1344. "options": "/Failed:.*/"
  1345. },
  1346. "properties": [
  1347. {
  1348. "id": "color",
  1349. "value": {
  1350. "fixedColor": "red",
  1351. "mode": "fixed"
  1352. }
  1353. }
  1354. ]
  1355. }
  1356. ]
  1357. },
  1358. "gridPos": {
  1359. "h": 9,
  1360. "w": 8,
  1361. "x": 16,
  1362. "y": 27
  1363. },
  1364. "id": 48,
  1365. "interval": "$minstep",
  1366. "links": [],
  1367. "options": {
  1368. "legend": {
  1369. "calcs": [
  1370. "min",
  1371. "max",
  1372. "mean"
  1373. ],
  1374. "displayMode": "table",
  1375. "placement": "bottom",
  1376. "showLegend": true
  1377. },
  1378. "tooltip": {
  1379. "mode": "multi",
  1380. "sort": "none"
  1381. }
  1382. },
  1383. "pluginVersion": "8.3.5",
  1384. "targets": [
  1385. {
  1386. "datasource": {
  1387. "type": "prometheus",
  1388. "uid": "$datasource"
  1389. },
  1390. "editorMode": "code",
  1391. "exemplar": true,
  1392. "expr": "sum(${metric:value}(otelcol_exporter_sent_log_records{exporter=~\"$exporter\",job=\"$job\"}[$__rate_interval])) by (exporter $grouping)",
  1393. "format": "time_series",
  1394. "interval": "$minstep",
  1395. "intervalFactor": 1,
  1396. "legendFormat": "Sent: {{exporter}} {{service_instance_id}}",
  1397. "range": true,
  1398. "refId": "A"
  1399. },
  1400. {
  1401. "datasource": {
  1402. "type": "prometheus",
  1403. "uid": "$datasource"
  1404. },
  1405. "editorMode": "code",
  1406. "exemplar": true,
  1407. "expr": "sum(${metric:value}(otelcol_exporter_enqueue_failed_log_records{exporter=~\"$exporter\",job=\"$job\"}[$__rate_interval])) by (exporter $grouping)",
  1408. "format": "time_series",
  1409. "hide": false,
  1410. "interval": "$minstep",
  1411. "intervalFactor": 1,
  1412. "legendFormat": "Enqueue: {{exporter}} {{service_instance_id}}",
  1413. "range": true,
  1414. "refId": "B"
  1415. },
  1416. {
  1417. "datasource": {
  1418. "type": "prometheus",
  1419. "uid": "$datasource"
  1420. },
  1421. "editorMode": "code",
  1422. "exemplar": true,
  1423. "expr": "sum(${metric:value}(otelcol_exporter_send_failed_log_records{exporter=~\"$exporter\",job=\"$job\"}[$__rate_interval])) by (exporter $grouping)",
  1424. "format": "time_series",
  1425. "hide": false,
  1426. "interval": "$minstep",
  1427. "intervalFactor": 1,
  1428. "legendFormat": "Failed: {{exporter}} {{service_instance_id}}",
  1429. "range": true,
  1430. "refId": "C"
  1431. }
  1432. ],
  1433. "title": "Log Records ${metric:text}",
  1434. "type": "timeseries"
  1435. },
  1436. {
  1437. "datasource": {
  1438. "type": "prometheus",
  1439. "uid": "$datasource"
  1440. },
  1441. "description": "Current size of the retry queue (in batches)",
  1442. "fieldConfig": {
  1443. "defaults": {
  1444. "color": {
  1445. "mode": "palette-classic"
  1446. },
  1447. "custom": {
  1448. "axisCenteredZero": false,
  1449. "axisColorMode": "text",
  1450. "axisLabel": "",
  1451. "axisPlacement": "auto",
  1452. "barAlignment": 0,
  1453. "drawStyle": "line",
  1454. "fillOpacity": 0,
  1455. "gradientMode": "none",
  1456. "hideFrom": {
  1457. "legend": false,
  1458. "tooltip": false,
  1459. "viz": false
  1460. },
  1461. "lineInterpolation": "linear",
  1462. "lineWidth": 1,
  1463. "pointSize": 5,
  1464. "scaleDistribution": {
  1465. "type": "linear"
  1466. },
  1467. "showPoints": "never",
  1468. "spanNulls": true,
  1469. "stacking": {
  1470. "group": "A",
  1471. "mode": "none"
  1472. },
  1473. "thresholdsStyle": {
  1474. "mode": "off"
  1475. }
  1476. },
  1477. "links": [],
  1478. "mappings": [],
  1479. "thresholds": {
  1480. "mode": "absolute",
  1481. "steps": [
  1482. {
  1483. "color": "green",
  1484. "value": null
  1485. },
  1486. {
  1487. "color": "red",
  1488. "value": 80
  1489. }
  1490. ]
  1491. },
  1492. "unit": "short"
  1493. },
  1494. "overrides": []
  1495. },
  1496. "gridPos": {
  1497. "h": 9,
  1498. "w": 12,
  1499. "x": 0,
  1500. "y": 36
  1501. },
  1502. "id": 10,
  1503. "links": [],
  1504. "options": {
  1505. "legend": {
  1506. "calcs": [
  1507. "min",
  1508. "max",
  1509. "mean"
  1510. ],
  1511. "displayMode": "table",
  1512. "placement": "bottom",
  1513. "showLegend": true
  1514. },
  1515. "tooltip": {
  1516. "mode": "multi",
  1517. "sort": "none"
  1518. }
  1519. },
  1520. "pluginVersion": "8.3.5",
  1521. "targets": [
  1522. {
  1523. "datasource": {
  1524. "type": "prometheus",
  1525. "uid": "$datasource"
  1526. },
  1527. "editorMode": "code",
  1528. "exemplar": true,
  1529. "expr": "max(otelcol_exporter_queue_size{exporter=~\"$exporter\",job=\"$job\"}) by (exporter)",
  1530. "format": "time_series",
  1531. "interval": "$minstep",
  1532. "intervalFactor": 1,
  1533. "legendFormat": "Max queue size: {{exporter}}",
  1534. "range": true,
  1535. "refId": "A"
  1536. }
  1537. ],
  1538. "title": "Exporter Queue Size",
  1539. "type": "timeseries"
  1540. },
  1541. {
  1542. "datasource": {
  1543. "type": "prometheus",
  1544. "uid": "$datasource"
  1545. },
  1546. "description": "Fixed capacity of the retry queue (in batches)",
  1547. "fieldConfig": {
  1548. "defaults": {
  1549. "color": {
  1550. "mode": "palette-classic"
  1551. },
  1552. "custom": {
  1553. "axisCenteredZero": false,
  1554. "axisColorMode": "text",
  1555. "axisLabel": "",
  1556. "axisPlacement": "auto",
  1557. "barAlignment": 0,
  1558. "drawStyle": "line",
  1559. "fillOpacity": 0,
  1560. "gradientMode": "none",
  1561. "hideFrom": {
  1562. "legend": false,
  1563. "tooltip": false,
  1564. "viz": false
  1565. },
  1566. "lineInterpolation": "linear",
  1567. "lineWidth": 1,
  1568. "pointSize": 5,
  1569. "scaleDistribution": {
  1570. "type": "linear"
  1571. },
  1572. "showPoints": "never",
  1573. "spanNulls": true,
  1574. "stacking": {
  1575. "group": "A",
  1576. "mode": "none"
  1577. },
  1578. "thresholdsStyle": {
  1579. "mode": "off"
  1580. }
  1581. },
  1582. "links": [],
  1583. "mappings": [],
  1584. "thresholds": {
  1585. "mode": "absolute",
  1586. "steps": [
  1587. {
  1588. "color": "green",
  1589. "value": null
  1590. },
  1591. {
  1592. "color": "red",
  1593. "value": 80
  1594. }
  1595. ]
  1596. },
  1597. "unit": "short"
  1598. },
  1599. "overrides": []
  1600. },
  1601. "gridPos": {
  1602. "h": 9,
  1603. "w": 12,
  1604. "x": 12,
  1605. "y": 36
  1606. },
  1607. "id": 55,
  1608. "links": [],
  1609. "options": {
  1610. "legend": {
  1611. "calcs": [
  1612. "min",
  1613. "max",
  1614. "mean"
  1615. ],
  1616. "displayMode": "table",
  1617. "placement": "bottom",
  1618. "showLegend": true
  1619. },
  1620. "tooltip": {
  1621. "mode": "multi",
  1622. "sort": "none"
  1623. }
  1624. },
  1625. "pluginVersion": "8.3.5",
  1626. "targets": [
  1627. {
  1628. "datasource": {
  1629. "type": "prometheus",
  1630. "uid": "$datasource"
  1631. },
  1632. "editorMode": "code",
  1633. "exemplar": true,
  1634. "expr": "min(otelcol_exporter_queue_capacity{exporter=~\"$exporter\",job=\"$job\"}) by (exporter)",
  1635. "format": "time_series",
  1636. "interval": "$minstep",
  1637. "intervalFactor": 1,
  1638. "legendFormat": "Queue capacity: {{exporter}}",
  1639. "range": true,
  1640. "refId": "A"
  1641. }
  1642. ],
  1643. "title": "Exporter Queue Capacity",
  1644. "type": "timeseries"
  1645. },
  1646. {
  1647. "collapsed": false,
  1648. "datasource": {
  1649. "type": "prometheus",
  1650. "uid": "$datasource"
  1651. },
  1652. "gridPos": {
  1653. "h": 1,
  1654. "w": 24,
  1655. "x": 0,
  1656. "y": 45
  1657. },
  1658. "id": 21,
  1659. "panels": [],
  1660. "targets": [
  1661. {
  1662. "datasource": {
  1663. "type": "prometheus",
  1664. "uid": "$datasource"
  1665. },
  1666. "refId": "A"
  1667. }
  1668. ],
  1669. "title": "Collector",
  1670. "type": "row"
  1671. },
  1672. {
  1673. "datasource": {
  1674. "type": "prometheus",
  1675. "uid": "$datasource"
  1676. },
  1677. "description": "Total physical memory (resident set size)",
  1678. "fieldConfig": {
  1679. "defaults": {
  1680. "color": {
  1681. "mode": "palette-classic"
  1682. },
  1683. "custom": {
  1684. "axisCenteredZero": false,
  1685. "axisColorMode": "text",
  1686. "axisLabel": "",
  1687. "axisPlacement": "auto",
  1688. "barAlignment": 0,
  1689. "drawStyle": "line",
  1690. "fillOpacity": 0,
  1691. "gradientMode": "none",
  1692. "hideFrom": {
  1693. "legend": false,
  1694. "tooltip": false,
  1695. "viz": false
  1696. },
  1697. "lineInterpolation": "linear",
  1698. "lineWidth": 1,
  1699. "pointSize": 5,
  1700. "scaleDistribution": {
  1701. "type": "linear"
  1702. },
  1703. "showPoints": "never",
  1704. "spanNulls": true,
  1705. "stacking": {
  1706. "group": "A",
  1707. "mode": "none"
  1708. },
  1709. "thresholdsStyle": {
  1710. "mode": "off"
  1711. }
  1712. },
  1713. "links": [],
  1714. "mappings": [],
  1715. "min": 0,
  1716. "thresholds": {
  1717. "mode": "absolute",
  1718. "steps": [
  1719. {
  1720. "color": "green",
  1721. "value": null
  1722. },
  1723. {
  1724. "color": "red",
  1725. "value": 80
  1726. }
  1727. ]
  1728. },
  1729. "unit": "bytes"
  1730. },
  1731. "overrides": [
  1732. {
  1733. "matcher": {
  1734. "id": "byName",
  1735. "options": "Max Memory RSS "
  1736. },
  1737. "properties": [
  1738. {
  1739. "id": "color",
  1740. "value": {
  1741. "fixedColor": "red",
  1742. "mode": "fixed"
  1743. }
  1744. },
  1745. {
  1746. "id": "custom.fillBelowTo",
  1747. "value": "Avg Memory RSS "
  1748. },
  1749. {
  1750. "id": "custom.lineWidth",
  1751. "value": 0
  1752. },
  1753. {
  1754. "id": "custom.fillOpacity",
  1755. "value": 20
  1756. }
  1757. ]
  1758. },
  1759. {
  1760. "matcher": {
  1761. "id": "byName",
  1762. "options": "Min Memory RSS "
  1763. },
  1764. "properties": [
  1765. {
  1766. "id": "color",
  1767. "value": {
  1768. "fixedColor": "yellow",
  1769. "mode": "fixed"
  1770. }
  1771. },
  1772. {
  1773. "id": "custom.lineWidth",
  1774. "value": 0
  1775. }
  1776. ]
  1777. },
  1778. {
  1779. "matcher": {
  1780. "id": "byName",
  1781. "options": "Avg Memory RSS "
  1782. },
  1783. "properties": [
  1784. {
  1785. "id": "color",
  1786. "value": {
  1787. "fixedColor": "orange",
  1788. "mode": "fixed"
  1789. }
  1790. },
  1791. {
  1792. "id": "custom.fillBelowTo",
  1793. "value": "Min Memory RSS "
  1794. },
  1795. {
  1796. "id": "custom.fillOpacity",
  1797. "value": 20
  1798. }
  1799. ]
  1800. }
  1801. ]
  1802. },
  1803. "gridPos": {
  1804. "h": 9,
  1805. "w": 8,
  1806. "x": 0,
  1807. "y": 46
  1808. },
  1809. "id": 40,
  1810. "interval": "$minstep",
  1811. "links": [],
  1812. "options": {
  1813. "legend": {
  1814. "calcs": [
  1815. "min",
  1816. "max",
  1817. "mean"
  1818. ],
  1819. "displayMode": "table",
  1820. "placement": "bottom",
  1821. "showLegend": true
  1822. },
  1823. "tooltip": {
  1824. "mode": "multi",
  1825. "sort": "none"
  1826. }
  1827. },
  1828. "pluginVersion": "8.3.5",
  1829. "targets": [
  1830. {
  1831. "datasource": {
  1832. "type": "prometheus",
  1833. "uid": "$datasource"
  1834. },
  1835. "editorMode": "code",
  1836. "exemplar": true,
  1837. "expr": "max(otelcol_process_memory_rss{job=\"$job\"}) by (job $grouping)",
  1838. "format": "time_series",
  1839. "hide": false,
  1840. "interval": "$minstep",
  1841. "intervalFactor": 1,
  1842. "legendFormat": "Max Memory RSS {{service_instance_id}}",
  1843. "range": true,
  1844. "refId": "C"
  1845. },
  1846. {
  1847. "datasource": {
  1848. "type": "prometheus",
  1849. "uid": "$datasource"
  1850. },
  1851. "editorMode": "code",
  1852. "exemplar": true,
  1853. "expr": "avg(otelcol_process_memory_rss{job=\"$job\"}) by (job $grouping)",
  1854. "format": "time_series",
  1855. "interval": "$minstep",
  1856. "intervalFactor": 1,
  1857. "legendFormat": "Avg Memory RSS {{service_instance_id}}",
  1858. "range": true,
  1859. "refId": "A"
  1860. },
  1861. {
  1862. "datasource": {
  1863. "type": "prometheus",
  1864. "uid": "$datasource"
  1865. },
  1866. "editorMode": "code",
  1867. "exemplar": true,
  1868. "expr": "min(otelcol_process_memory_rss{job=\"$job\"}) by (job $grouping)",
  1869. "format": "time_series",
  1870. "hide": false,
  1871. "interval": "$minstep",
  1872. "intervalFactor": 1,
  1873. "legendFormat": "Min Memory RSS {{service_instance_id}}",
  1874. "range": true,
  1875. "refId": "B"
  1876. }
  1877. ],
  1878. "title": "Total RSS Memory",
  1879. "type": "timeseries"
  1880. },
  1881. {
  1882. "datasource": {
  1883. "type": "prometheus",
  1884. "uid": "$datasource"
  1885. },
  1886. "description": "Total bytes of memory obtained from the OS (see 'go doc runtime.MemStats.Sys')",
  1887. "fieldConfig": {
  1888. "defaults": {
  1889. "color": {
  1890. "mode": "palette-classic"
  1891. },
  1892. "custom": {
  1893. "axisCenteredZero": false,
  1894. "axisColorMode": "text",
  1895. "axisLabel": "",
  1896. "axisPlacement": "auto",
  1897. "barAlignment": 0,
  1898. "drawStyle": "line",
  1899. "fillOpacity": 0,
  1900. "gradientMode": "none",
  1901. "hideFrom": {
  1902. "legend": false,
  1903. "tooltip": false,
  1904. "viz": false
  1905. },
  1906. "lineInterpolation": "linear",
  1907. "lineWidth": 1,
  1908. "pointSize": 5,
  1909. "scaleDistribution": {
  1910. "type": "linear"
  1911. },
  1912. "showPoints": "never",
  1913. "spanNulls": true,
  1914. "stacking": {
  1915. "group": "A",
  1916. "mode": "none"
  1917. },
  1918. "thresholdsStyle": {
  1919. "mode": "off"
  1920. }
  1921. },
  1922. "links": [],
  1923. "mappings": [],
  1924. "min": 0,
  1925. "thresholds": {
  1926. "mode": "absolute",
  1927. "steps": [
  1928. {
  1929. "color": "green",
  1930. "value": null
  1931. },
  1932. {
  1933. "color": "red",
  1934. "value": 80
  1935. }
  1936. ]
  1937. },
  1938. "unit": "bytes"
  1939. },
  1940. "overrides": [
  1941. {
  1942. "matcher": {
  1943. "id": "byName",
  1944. "options": "Max Memory RSS "
  1945. },
  1946. "properties": [
  1947. {
  1948. "id": "color",
  1949. "value": {
  1950. "fixedColor": "red",
  1951. "mode": "fixed"
  1952. }
  1953. },
  1954. {
  1955. "id": "custom.fillBelowTo",
  1956. "value": "Avg Memory RSS "
  1957. },
  1958. {
  1959. "id": "custom.lineWidth",
  1960. "value": 0
  1961. },
  1962. {
  1963. "id": "custom.fillOpacity",
  1964. "value": 20
  1965. }
  1966. ]
  1967. },
  1968. {
  1969. "matcher": {
  1970. "id": "byName",
  1971. "options": "Min Memory RSS "
  1972. },
  1973. "properties": [
  1974. {
  1975. "id": "color",
  1976. "value": {
  1977. "fixedColor": "yellow",
  1978. "mode": "fixed"
  1979. }
  1980. },
  1981. {
  1982. "id": "custom.lineWidth",
  1983. "value": 0
  1984. }
  1985. ]
  1986. },
  1987. {
  1988. "matcher": {
  1989. "id": "byName",
  1990. "options": "Avg Memory RSS "
  1991. },
  1992. "properties": [
  1993. {
  1994. "id": "color",
  1995. "value": {
  1996. "fixedColor": "orange",
  1997. "mode": "fixed"
  1998. }
  1999. },
  2000. {
  2001. "id": "custom.fillBelowTo",
  2002. "value": "Min Memory RSS "
  2003. },
  2004. {
  2005. "id": "custom.fillOpacity",
  2006. "value": 20
  2007. }
  2008. ]
  2009. }
  2010. ]
  2011. },
  2012. "gridPos": {
  2013. "h": 9,
  2014. "w": 8,
  2015. "x": 8,
  2016. "y": 46
  2017. },
  2018. "id": 52,
  2019. "interval": "$minstep",
  2020. "links": [],
  2021. "options": {
  2022. "legend": {
  2023. "calcs": [
  2024. "min",
  2025. "max",
  2026. "mean"
  2027. ],
  2028. "displayMode": "table",
  2029. "placement": "bottom",
  2030. "showLegend": true
  2031. },
  2032. "tooltip": {
  2033. "mode": "multi",
  2034. "sort": "none"
  2035. }
  2036. },
  2037. "pluginVersion": "8.3.5",
  2038. "targets": [
  2039. {
  2040. "datasource": {
  2041. "type": "prometheus",
  2042. "uid": "$datasource"
  2043. },
  2044. "editorMode": "code",
  2045. "exemplar": true,
  2046. "expr": "max(otelcol_process_runtime_total_sys_memory_bytes{job=\"$job\"}) by (job $grouping)",
  2047. "format": "time_series",
  2048. "hide": false,
  2049. "interval": "$minstep",
  2050. "intervalFactor": 1,
  2051. "legendFormat": "Max Memory RSS {{service_instance_id}}",
  2052. "range": true,
  2053. "refId": "C"
  2054. },
  2055. {
  2056. "datasource": {
  2057. "type": "prometheus",
  2058. "uid": "$datasource"
  2059. },
  2060. "editorMode": "code",
  2061. "exemplar": true,
  2062. "expr": "avg(otelcol_process_runtime_total_sys_memory_bytes{job=\"$job\"}) by (job $grouping)",
  2063. "format": "time_series",
  2064. "interval": "$minstep",
  2065. "intervalFactor": 1,
  2066. "legendFormat": "Avg Memory RSS {{service_instance_id}}",
  2067. "range": true,
  2068. "refId": "A"
  2069. },
  2070. {
  2071. "datasource": {
  2072. "type": "prometheus",
  2073. "uid": "$datasource"
  2074. },
  2075. "editorMode": "code",
  2076. "exemplar": true,
  2077. "expr": "min(otelcol_process_runtime_total_sys_memory_bytes{job=\"$job\"}) by (job $grouping)",
  2078. "format": "time_series",
  2079. "hide": false,
  2080. "interval": "$minstep",
  2081. "intervalFactor": 1,
  2082. "legendFormat": "Min Memory RSS {{service_instance_id}}",
  2083. "range": true,
  2084. "refId": "B"
  2085. }
  2086. ],
  2087. "title": "Total Runtime Sys Memory",
  2088. "type": "timeseries"
  2089. },
  2090. {
  2091. "datasource": {
  2092. "type": "prometheus",
  2093. "uid": "$datasource"
  2094. },
  2095. "description": "Bytes of allocated heap objects (see 'go doc runtime.MemStats.HeapAlloc')",
  2096. "fieldConfig": {
  2097. "defaults": {
  2098. "color": {
  2099. "mode": "palette-classic"
  2100. },
  2101. "custom": {
  2102. "axisCenteredZero": false,
  2103. "axisColorMode": "text",
  2104. "axisLabel": "",
  2105. "axisPlacement": "auto",
  2106. "barAlignment": 0,
  2107. "drawStyle": "line",
  2108. "fillOpacity": 0,
  2109. "gradientMode": "none",
  2110. "hideFrom": {
  2111. "legend": false,
  2112. "tooltip": false,
  2113. "viz": false
  2114. },
  2115. "lineInterpolation": "linear",
  2116. "lineWidth": 1,
  2117. "pointSize": 5,
  2118. "scaleDistribution": {
  2119. "type": "linear"
  2120. },
  2121. "showPoints": "never",
  2122. "spanNulls": true,
  2123. "stacking": {
  2124. "group": "A",
  2125. "mode": "none"
  2126. },
  2127. "thresholdsStyle": {
  2128. "mode": "off"
  2129. }
  2130. },
  2131. "links": [],
  2132. "mappings": [],
  2133. "min": 0,
  2134. "thresholds": {
  2135. "mode": "absolute",
  2136. "steps": [
  2137. {
  2138. "color": "green",
  2139. "value": null
  2140. },
  2141. {
  2142. "color": "red",
  2143. "value": 80
  2144. }
  2145. ]
  2146. },
  2147. "unit": "bytes"
  2148. },
  2149. "overrides": [
  2150. {
  2151. "matcher": {
  2152. "id": "byName",
  2153. "options": "Max Memory RSS "
  2154. },
  2155. "properties": [
  2156. {
  2157. "id": "color",
  2158. "value": {
  2159. "fixedColor": "red",
  2160. "mode": "fixed"
  2161. }
  2162. },
  2163. {
  2164. "id": "custom.fillBelowTo",
  2165. "value": "Avg Memory RSS "
  2166. },
  2167. {
  2168. "id": "custom.lineWidth",
  2169. "value": 0
  2170. },
  2171. {
  2172. "id": "custom.fillOpacity",
  2173. "value": 20
  2174. }
  2175. ]
  2176. },
  2177. {
  2178. "matcher": {
  2179. "id": "byName",
  2180. "options": "Min Memory RSS "
  2181. },
  2182. "properties": [
  2183. {
  2184. "id": "color",
  2185. "value": {
  2186. "fixedColor": "yellow",
  2187. "mode": "fixed"
  2188. }
  2189. },
  2190. {
  2191. "id": "custom.lineWidth",
  2192. "value": 0
  2193. }
  2194. ]
  2195. },
  2196. {
  2197. "matcher": {
  2198. "id": "byName",
  2199. "options": "Avg Memory RSS "
  2200. },
  2201. "properties": [
  2202. {
  2203. "id": "color",
  2204. "value": {
  2205. "fixedColor": "orange",
  2206. "mode": "fixed"
  2207. }
  2208. },
  2209. {
  2210. "id": "custom.fillBelowTo",
  2211. "value": "Min Memory RSS "
  2212. },
  2213. {
  2214. "id": "custom.fillOpacity",
  2215. "value": 20
  2216. }
  2217. ]
  2218. }
  2219. ]
  2220. },
  2221. "gridPos": {
  2222. "h": 9,
  2223. "w": 8,
  2224. "x": 16,
  2225. "y": 46
  2226. },
  2227. "id": 53,
  2228. "interval": "$minstep",
  2229. "links": [],
  2230. "options": {
  2231. "legend": {
  2232. "calcs": [
  2233. "min",
  2234. "max",
  2235. "mean"
  2236. ],
  2237. "displayMode": "table",
  2238. "placement": "bottom",
  2239. "showLegend": true
  2240. },
  2241. "tooltip": {
  2242. "mode": "multi",
  2243. "sort": "none"
  2244. }
  2245. },
  2246. "pluginVersion": "8.3.5",
  2247. "targets": [
  2248. {
  2249. "datasource": {
  2250. "type": "prometheus",
  2251. "uid": "$datasource"
  2252. },
  2253. "editorMode": "code",
  2254. "exemplar": true,
  2255. "expr": "max(otelcol_process_runtime_heap_alloc_bytes{job=\"$job\"}) by (job $grouping)",
  2256. "format": "time_series",
  2257. "hide": false,
  2258. "interval": "$minstep",
  2259. "intervalFactor": 1,
  2260. "legendFormat": "Max Memory RSS {{service_instance_id}}",
  2261. "range": true,
  2262. "refId": "C"
  2263. },
  2264. {
  2265. "datasource": {
  2266. "type": "prometheus",
  2267. "uid": "$datasource"
  2268. },
  2269. "editorMode": "code",
  2270. "exemplar": true,
  2271. "expr": "avg(otelcol_process_runtime_heap_alloc_bytes{job=\"$job\"}) by (job $grouping)",
  2272. "format": "time_series",
  2273. "interval": "$minstep",
  2274. "intervalFactor": 1,
  2275. "legendFormat": "Avg Memory RSS {{service_instance_id}}",
  2276. "range": true,
  2277. "refId": "A"
  2278. },
  2279. {
  2280. "datasource": {
  2281. "type": "prometheus",
  2282. "uid": "$datasource"
  2283. },
  2284. "editorMode": "code",
  2285. "exemplar": true,
  2286. "expr": "min(otelcol_process_runtime_heap_alloc_bytes{job=\"$job\"}) by (job $grouping)",
  2287. "format": "time_series",
  2288. "hide": false,
  2289. "interval": "$minstep",
  2290. "intervalFactor": 1,
  2291. "legendFormat": "Min Memory RSS {{service_instance_id}}",
  2292. "range": true,
  2293. "refId": "B"
  2294. }
  2295. ],
  2296. "title": "Total Runtime Heap Memory",
  2297. "type": "timeseries"
  2298. },
  2299. {
  2300. "datasource": {
  2301. "type": "prometheus",
  2302. "uid": "$datasource"
  2303. },
  2304. "description": "Total CPU user and system time in percentage",
  2305. "fieldConfig": {
  2306. "defaults": {
  2307. "color": {
  2308. "mode": "palette-classic"
  2309. },
  2310. "custom": {
  2311. "axisCenteredZero": false,
  2312. "axisColorMode": "text",
  2313. "axisLabel": "",
  2314. "axisPlacement": "auto",
  2315. "barAlignment": 0,
  2316. "drawStyle": "line",
  2317. "fillOpacity": 0,
  2318. "gradientMode": "none",
  2319. "hideFrom": {
  2320. "legend": false,
  2321. "tooltip": false,
  2322. "viz": false
  2323. },
  2324. "lineInterpolation": "linear",
  2325. "lineWidth": 1,
  2326. "pointSize": 5,
  2327. "scaleDistribution": {
  2328. "type": "linear"
  2329. },
  2330. "showPoints": "never",
  2331. "spanNulls": true,
  2332. "stacking": {
  2333. "group": "A",
  2334. "mode": "none"
  2335. },
  2336. "thresholdsStyle": {
  2337. "mode": "off"
  2338. }
  2339. },
  2340. "links": [],
  2341. "mappings": [],
  2342. "min": 0,
  2343. "thresholds": {
  2344. "mode": "absolute",
  2345. "steps": [
  2346. {
  2347. "color": "green",
  2348. "value": null
  2349. },
  2350. {
  2351. "color": "red",
  2352. "value": 80
  2353. }
  2354. ]
  2355. },
  2356. "unit": "percent"
  2357. },
  2358. "overrides": [
  2359. {
  2360. "matcher": {
  2361. "id": "byName",
  2362. "options": "Max CPU usage "
  2363. },
  2364. "properties": [
  2365. {
  2366. "id": "color",
  2367. "value": {
  2368. "fixedColor": "red",
  2369. "mode": "fixed"
  2370. }
  2371. },
  2372. {
  2373. "id": "custom.fillBelowTo",
  2374. "value": "Avg CPU usage "
  2375. },
  2376. {
  2377. "id": "custom.lineWidth",
  2378. "value": 0
  2379. },
  2380. {
  2381. "id": "custom.fillOpacity",
  2382. "value": 20
  2383. }
  2384. ]
  2385. },
  2386. {
  2387. "matcher": {
  2388. "id": "byName",
  2389. "options": "Avg CPU usage "
  2390. },
  2391. "properties": [
  2392. {
  2393. "id": "color",
  2394. "value": {
  2395. "fixedColor": "orange",
  2396. "mode": "fixed"
  2397. }
  2398. },
  2399. {
  2400. "id": "custom.fillBelowTo",
  2401. "value": "Min CPU usage "
  2402. }
  2403. ]
  2404. },
  2405. {
  2406. "matcher": {
  2407. "id": "byName",
  2408. "options": "Min CPU usage "
  2409. },
  2410. "properties": [
  2411. {
  2412. "id": "color",
  2413. "value": {
  2414. "fixedColor": "yellow",
  2415. "mode": "fixed"
  2416. }
  2417. },
  2418. {
  2419. "id": "custom.lineWidth",
  2420. "value": 0
  2421. }
  2422. ]
  2423. }
  2424. ]
  2425. },
  2426. "gridPos": {
  2427. "h": 9,
  2428. "w": 8,
  2429. "x": 0,
  2430. "y": 55
  2431. },
  2432. "id": 39,
  2433. "interval": "$minstep",
  2434. "links": [],
  2435. "options": {
  2436. "legend": {
  2437. "calcs": [
  2438. "min",
  2439. "max",
  2440. "mean"
  2441. ],
  2442. "displayMode": "table",
  2443. "placement": "bottom",
  2444. "showLegend": true
  2445. },
  2446. "tooltip": {
  2447. "mode": "multi",
  2448. "sort": "none"
  2449. }
  2450. },
  2451. "pluginVersion": "8.3.5",
  2452. "targets": [
  2453. {
  2454. "datasource": {
  2455. "type": "prometheus",
  2456. "uid": "$datasource"
  2457. },
  2458. "editorMode": "code",
  2459. "exemplar": true,
  2460. "expr": "max(rate(otelcol_process_cpu_seconds{job=\"$job\"}[$__rate_interval])*100) by (job $grouping)",
  2461. "format": "time_series",
  2462. "hide": false,
  2463. "interval": "$minstep",
  2464. "intervalFactor": 1,
  2465. "legendFormat": "Max CPU usage {{service_instance_id}}",
  2466. "range": true,
  2467. "refId": "B"
  2468. },
  2469. {
  2470. "datasource": {
  2471. "type": "prometheus",
  2472. "uid": "$datasource"
  2473. },
  2474. "editorMode": "code",
  2475. "exemplar": true,
  2476. "expr": "avg(rate(otelcol_process_cpu_seconds{job=\"$job\"}[$__rate_interval])*100) by (job $grouping)",
  2477. "format": "time_series",
  2478. "hide": false,
  2479. "interval": "$minstep",
  2480. "intervalFactor": 1,
  2481. "legendFormat": "Avg CPU usage {{service_instance_id}}",
  2482. "range": true,
  2483. "refId": "A"
  2484. },
  2485. {
  2486. "datasource": {
  2487. "type": "prometheus",
  2488. "uid": "$datasource"
  2489. },
  2490. "editorMode": "code",
  2491. "exemplar": true,
  2492. "expr": "min(rate(otelcol_process_cpu_seconds{job=\"$job\"}[$__rate_interval])*100) by (job $grouping)",
  2493. "format": "time_series",
  2494. "hide": false,
  2495. "interval": "$minstep",
  2496. "intervalFactor": 1,
  2497. "legendFormat": "Min CPU usage {{service_instance_id}}",
  2498. "range": true,
  2499. "refId": "C"
  2500. }
  2501. ],
  2502. "title": "CPU Usage",
  2503. "type": "timeseries"
  2504. },
  2505. {
  2506. "datasource": {
  2507. "type": "prometheus",
  2508. "uid": "$datasource"
  2509. },
  2510. "description": "Number of service instances, which are reporting metrics",
  2511. "fieldConfig": {
  2512. "defaults": {
  2513. "color": {
  2514. "mode": "palette-classic"
  2515. },
  2516. "custom": {
  2517. "axisCenteredZero": false,
  2518. "axisColorMode": "text",
  2519. "axisLabel": "",
  2520. "axisPlacement": "auto",
  2521. "barAlignment": 0,
  2522. "drawStyle": "line",
  2523. "fillOpacity": 0,
  2524. "gradientMode": "none",
  2525. "hideFrom": {
  2526. "legend": false,
  2527. "tooltip": false,
  2528. "viz": false
  2529. },
  2530. "lineInterpolation": "linear",
  2531. "lineWidth": 1,
  2532. "pointSize": 5,
  2533. "scaleDistribution": {
  2534. "type": "linear"
  2535. },
  2536. "showPoints": "never",
  2537. "spanNulls": true,
  2538. "stacking": {
  2539. "group": "A",
  2540. "mode": "none"
  2541. },
  2542. "thresholdsStyle": {
  2543. "mode": "off"
  2544. }
  2545. },
  2546. "links": [],
  2547. "mappings": [],
  2548. "min": 0,
  2549. "thresholds": {
  2550. "mode": "absolute",
  2551. "steps": [
  2552. {
  2553. "color": "green",
  2554. "value": null
  2555. },
  2556. {
  2557. "color": "red",
  2558. "value": 80
  2559. }
  2560. ]
  2561. },
  2562. "unit": "short"
  2563. },
  2564. "overrides": []
  2565. },
  2566. "gridPos": {
  2567. "h": 9,
  2568. "w": 8,
  2569. "x": 8,
  2570. "y": 55
  2571. },
  2572. "id": 41,
  2573. "interval": "$minstep",
  2574. "links": [],
  2575. "options": {
  2576. "legend": {
  2577. "calcs": [
  2578. "min",
  2579. "max",
  2580. "mean"
  2581. ],
  2582. "displayMode": "table",
  2583. "placement": "bottom",
  2584. "showLegend": true
  2585. },
  2586. "tooltip": {
  2587. "mode": "multi",
  2588. "sort": "none"
  2589. }
  2590. },
  2591. "pluginVersion": "8.3.5",
  2592. "targets": [
  2593. {
  2594. "datasource": {
  2595. "type": "prometheus",
  2596. "uid": "$datasource"
  2597. },
  2598. "editorMode": "code",
  2599. "exemplar": true,
  2600. "expr": "count(count(otelcol_process_cpu_seconds{service_instance_id=~\".*\",job=\"$job\"}) by (service_instance_id))",
  2601. "format": "time_series",
  2602. "hide": false,
  2603. "interval": "$minstep",
  2604. "intervalFactor": 1,
  2605. "legendFormat": "Service instance count",
  2606. "range": true,
  2607. "refId": "B"
  2608. }
  2609. ],
  2610. "title": "Service Instance Count",
  2611. "type": "timeseries"
  2612. },
  2613. {
  2614. "datasource": {
  2615. "type": "prometheus",
  2616. "uid": "$datasource"
  2617. },
  2618. "description": "",
  2619. "fieldConfig": {
  2620. "defaults": {
  2621. "color": {
  2622. "mode": "palette-classic"
  2623. },
  2624. "custom": {
  2625. "axisCenteredZero": false,
  2626. "axisColorMode": "text",
  2627. "axisLabel": "",
  2628. "axisPlacement": "auto",
  2629. "barAlignment": 0,
  2630. "drawStyle": "line",
  2631. "fillOpacity": 0,
  2632. "gradientMode": "none",
  2633. "hideFrom": {
  2634. "legend": false,
  2635. "tooltip": false,
  2636. "viz": false
  2637. },
  2638. "lineInterpolation": "linear",
  2639. "lineWidth": 1,
  2640. "pointSize": 5,
  2641. "scaleDistribution": {
  2642. "type": "linear"
  2643. },
  2644. "showPoints": "never",
  2645. "spanNulls": true,
  2646. "stacking": {
  2647. "group": "A",
  2648. "mode": "none"
  2649. },
  2650. "thresholdsStyle": {
  2651. "mode": "off"
  2652. }
  2653. },
  2654. "links": [],
  2655. "mappings": [],
  2656. "min": 0,
  2657. "thresholds": {
  2658. "mode": "absolute",
  2659. "steps": [
  2660. {
  2661. "color": "green",
  2662. "value": null
  2663. },
  2664. {
  2665. "color": "red",
  2666. "value": 80
  2667. }
  2668. ]
  2669. },
  2670. "unit": "s"
  2671. },
  2672. "overrides": []
  2673. },
  2674. "gridPos": {
  2675. "h": 9,
  2676. "w": 8,
  2677. "x": 16,
  2678. "y": 55
  2679. },
  2680. "id": 54,
  2681. "interval": "$minstep",
  2682. "links": [],
  2683. "options": {
  2684. "legend": {
  2685. "calcs": [
  2686. "min",
  2687. "max",
  2688. "mean"
  2689. ],
  2690. "displayMode": "table",
  2691. "placement": "bottom",
  2692. "showLegend": true
  2693. },
  2694. "tooltip": {
  2695. "mode": "multi",
  2696. "sort": "none"
  2697. }
  2698. },
  2699. "pluginVersion": "8.3.5",
  2700. "targets": [
  2701. {
  2702. "datasource": {
  2703. "type": "prometheus",
  2704. "uid": "$datasource"
  2705. },
  2706. "editorMode": "code",
  2707. "exemplar": true,
  2708. "expr": "max(otelcol_process_uptime{service_instance_id=~\".*\",job=\"$job\"}) by (service_instance_id)",
  2709. "format": "time_series",
  2710. "hide": false,
  2711. "interval": "$minstep",
  2712. "intervalFactor": 1,
  2713. "legendFormat": "Service instance uptime: {{service_instance_id}}",
  2714. "range": true,
  2715. "refId": "B"
  2716. }
  2717. ],
  2718. "title": "Uptime by Service Instance",
  2719. "type": "timeseries"
  2720. },
  2721. {
  2722. "datasource": {
  2723. "type": "prometheus",
  2724. "uid": "$datasource"
  2725. },
  2726. "description": "",
  2727. "fieldConfig": {
  2728. "defaults": {
  2729. "color": {
  2730. "mode": "thresholds"
  2731. },
  2732. "custom": {
  2733. "align": "auto",
  2734. "cellOptions": {
  2735. "type": "auto"
  2736. },
  2737. "inspect": false
  2738. },
  2739. "links": [],
  2740. "mappings": [],
  2741. "min": 0,
  2742. "thresholds": {
  2743. "mode": "absolute",
  2744. "steps": [
  2745. {
  2746. "color": "green",
  2747. "value": null
  2748. },
  2749. {
  2750. "color": "red",
  2751. "value": 80
  2752. }
  2753. ]
  2754. },
  2755. "unit": "s"
  2756. },
  2757. "overrides": []
  2758. },
  2759. "gridPos": {
  2760. "h": 5,
  2761. "w": 24,
  2762. "x": 0,
  2763. "y": 64
  2764. },
  2765. "id": 57,
  2766. "interval": "$minstep",
  2767. "links": [],
  2768. "options": {
  2769. "cellHeight": "sm",
  2770. "footer": {
  2771. "countRows": false,
  2772. "fields": "",
  2773. "reducer": [
  2774. "sum"
  2775. ],
  2776. "show": false
  2777. },
  2778. "showHeader": true
  2779. },
  2780. "pluginVersion": "10.0.3",
  2781. "targets": [
  2782. {
  2783. "datasource": {
  2784. "type": "prometheus",
  2785. "uid": "$datasource"
  2786. },
  2787. "editorMode": "code",
  2788. "exemplar": false,
  2789. "expr": "max(otelcol_process_uptime{service_instance_id=~\".*\",job=\"$job\"}) by (service_instance_id,service_name,service_version)",
  2790. "format": "table",
  2791. "hide": false,
  2792. "instant": true,
  2793. "interval": "$minstep",
  2794. "intervalFactor": 1,
  2795. "legendFormat": "__auto",
  2796. "range": false,
  2797. "refId": "B"
  2798. }
  2799. ],
  2800. "title": "Service Instance Details",
  2801. "transformations": [
  2802. {
  2803. "id": "organize",
  2804. "options": {
  2805. "excludeByName": {
  2806. "Time": true,
  2807. "Value": true
  2808. },
  2809. "indexByName": {},
  2810. "renameByName": {}
  2811. }
  2812. }
  2813. ],
  2814. "type": "table"
  2815. },
  2816. {
  2817. "collapsed": false,
  2818. "gridPos": {
  2819. "h": 1,
  2820. "w": 24,
  2821. "x": 0,
  2822. "y": 69
  2823. },
  2824. "id": 59,
  2825. "panels": [],
  2826. "title": "Data Flows",
  2827. "type": "row"
  2828. },
  2829. {
  2830. "datasource": {
  2831. "type": "prometheus",
  2832. "uid": "$datasource"
  2833. },
  2834. "description": "Receivers -> Processor(s) -> Exporters (Node Graph panel is beta, so this panel may not show data correctly).",
  2835. "gridPos": {
  2836. "h": 9,
  2837. "w": 8,
  2838. "x": 0,
  2839. "y": 70
  2840. },
  2841. "id": 58,
  2842. "options": {
  2843. "nodes": {
  2844. "mainStatUnit": "flops"
  2845. }
  2846. },
  2847. "targets": [
  2848. {
  2849. "datasource": {
  2850. "type": "prometheus",
  2851. "uid": "$datasource"
  2852. },
  2853. "editorMode": "code",
  2854. "exemplar": false,
  2855. "expr": "# receivers\nlabel_replace(\n label_join(\n label_join(\n sum(${metric:value}(\n otelcol_receiver_accepted_spans{receiver=~\"$receiver\",job=\"$job\"}[$__rate_interval])\n ) by (receiver)\n , \"id\", \"-rcv-\", \"transport\", \"receiver\"\n )\n , \"title\", \"\", \"transport\", \"receiver\"\n )\n , \"icon\", \"arrow-to-right\", \"\", \"\"\n)\n\n# dummy processor\nor\nlabel_replace(\n label_replace(\n label_replace(\n (sum(rate(otelcol_process_uptime{job=\"$job\"}[$__interval])))\n , \"id\", \"processor\", \"\", \"\"\n )\n , \"title\", \"Processor(s)\", \"\", \"\"\n )\n , \"icon\", \"arrow-random\", \"\", \"\"\n)\n\n# exporters\nor\nlabel_replace(\n label_join(\n label_join(\n sum(${metric:value}(\n otelcol_exporter_sent_spans{exporter=~\"$exporter\",job=\"$job\"}[$__rate_interval])\n ) by (exporter)\n , \"id\", \"-exp-\", \"transport\", \"exporter\"\n )\n , \"title\", \"\", \"transport\", \"exporter\"\n )\n , \"icon\", \"arrow-from-right\", \"\", \"\"\n)",
  2856. "format": "table",
  2857. "hide": false,
  2858. "instant": true,
  2859. "legendFormat": "__auto",
  2860. "range": false,
  2861. "refId": "nodes"
  2862. },
  2863. {
  2864. "datasource": {
  2865. "type": "prometheus",
  2866. "uid": "$datasource"
  2867. },
  2868. "editorMode": "code",
  2869. "exemplar": false,
  2870. "expr": "# receivers -> processor\r\nlabel_join(\r\n label_replace(\r\n label_join(\r\n (sum(rate(otelcol_receiver_accepted_spans{job=\"$job\"}[$__interval])) by (receiver))\r\n ,\"source\", \"-rcv-\", \"transport\", \"receiver\"\r\n )\r\n ,\"target\", \"processor\", \"\", \"\"\r\n )\r\n , \"id\", \"-\", \"source\", \"target\"\r\n)\r\n\r\n# processor -> exporters\r\nor\r\nlabel_join(\r\n label_replace(\r\n label_join(\r\n (sum(rate(otelcol_exporter_sent_spans{job=\"$job\"}[$__interval])) by (exporter))\r\n , \"target\", \"-exp-\", \"transport\", \"exporter\"\r\n )\r\n , \"source\", \"processor\", \"\", \"\"\r\n )\r\n , \"id\", \"-\", \"source\", \"target\"\r\n)",
  2871. "format": "table",
  2872. "hide": false,
  2873. "instant": true,
  2874. "legendFormat": "__auto",
  2875. "range": false,
  2876. "refId": "edges"
  2877. }
  2878. ],
  2879. "title": "Spans Flow",
  2880. "transformations": [
  2881. {
  2882. "id": "renameByRegex",
  2883. "options": {
  2884. "regex": "Value",
  2885. "renamePattern": "mainstat"
  2886. }
  2887. },
  2888. {
  2889. "disabled": true,
  2890. "id": "calculateField",
  2891. "options": {
  2892. "alias": "secondarystat",
  2893. "mode": "reduceRow",
  2894. "reduce": {
  2895. "include": [
  2896. "mainstat"
  2897. ],
  2898. "reducer": "sum"
  2899. }
  2900. }
  2901. }
  2902. ],
  2903. "type": "nodeGraph"
  2904. },
  2905. {
  2906. "datasource": {
  2907. "type": "prometheus",
  2908. "uid": "$datasource"
  2909. },
  2910. "description": "Receivers -> Processor(s) -> Exporters (Node Graph panel is beta, so this panel may not show data correctly).",
  2911. "gridPos": {
  2912. "h": 9,
  2913. "w": 8,
  2914. "x": 8,
  2915. "y": 70
  2916. },
  2917. "id": 60,
  2918. "options": {
  2919. "nodes": {
  2920. "mainStatUnit": "none"
  2921. }
  2922. },
  2923. "targets": [
  2924. {
  2925. "datasource": {
  2926. "type": "prometheus",
  2927. "uid": "$datasource"
  2928. },
  2929. "editorMode": "code",
  2930. "exemplar": false,
  2931. "expr": "# receivers\nlabel_replace(\n label_join(\n label_join(\n (sum(\n ${metric:value}(otelcol_receiver_accepted_metric_points{receiver=~\"$receiver\",job=\"$job\"}[$__rate_interval])\n ) by (receiver))\n , \"id\", \"-rcv-\", \"transport\", \"receiver\"\n )\n , \"title\", \"\", \"transport\", \"receiver\"\n )\n , \"icon\", \"arrow-to-right\", \"\", \"\"\n)\n\n# dummy processor\nor\nlabel_replace(\n label_replace(\n label_replace(\n (sum(rate(otelcol_process_uptime{job=\"$job\"}[$__interval])))\n , \"id\", \"processor\", \"\", \"\"\n )\n , \"title\", \"Processor(s)\", \"\", \"\"\n )\n , \"icon\", \"arrow-random\", \"\", \"\"\n)\n\n# exporters\nor\nlabel_replace(\n label_join(\n label_join(\n (sum(\n ${metric:value}(otelcol_exporter_sent_metric_points{exporter=~\"$exporter\",job=\"$job\"}[$__rate_interval])\n ) by (exporter))\n , \"id\", \"-exp-\", \"transport\", \"exporter\"\n )\n , \"title\", \"\", \"transport\", \"exporter\"\n )\n , \"icon\", \"arrow-from-right\", \"\", \"\"\n)",
  2932. "format": "table",
  2933. "hide": false,
  2934. "instant": true,
  2935. "legendFormat": "__auto",
  2936. "range": false,
  2937. "refId": "nodes"
  2938. },
  2939. {
  2940. "datasource": {
  2941. "type": "prometheus",
  2942. "uid": "$datasource"
  2943. },
  2944. "editorMode": "code",
  2945. "exemplar": false,
  2946. "expr": "# receivers -> processor\r\nlabel_join(\r\n label_replace(\r\n label_join(\r\n (sum(rate(otelcol_receiver_accepted_metric_points{job=\"$job\"}[$__interval])) by (receiver))\r\n , \"source\", \"-rcv-\", \"transport\", \"receiver\"\r\n )\r\n , \"target\", \"processor\", \"\", \"\"\r\n )\r\n , \"id\", \"-\", \"source\", \"target\"\r\n)\r\n\r\n# processor -> exporters\r\nor \r\nlabel_join(\r\n label_replace(\r\n label_join(\r\n (sum(rate(otelcol_exporter_sent_metric_points{job=\"$job\"}[$__interval])) by (exporter))\r\n , \"target\", \"-exp-\", \"transport\", \"exporter\"\r\n )\r\n , \"source\", \"processor\", \"\", \"\"\r\n )\r\n , \"id\", \"-\", \"source\", \"target\"\r\n)",
  2947. "format": "table",
  2948. "hide": false,
  2949. "instant": true,
  2950. "legendFormat": "__auto",
  2951. "range": false,
  2952. "refId": "edges"
  2953. }
  2954. ],
  2955. "title": "Metric Points Flow",
  2956. "transformations": [
  2957. {
  2958. "id": "renameByRegex",
  2959. "options": {
  2960. "regex": "Value",
  2961. "renamePattern": "mainstat"
  2962. }
  2963. },
  2964. {
  2965. "disabled": true,
  2966. "id": "calculateField",
  2967. "options": {
  2968. "alias": "secondarystat",
  2969. "mode": "reduceRow",
  2970. "reduce": {
  2971. "include": [
  2972. "Value #nodes"
  2973. ],
  2974. "reducer": "sum"
  2975. }
  2976. }
  2977. }
  2978. ],
  2979. "type": "nodeGraph"
  2980. },
  2981. {
  2982. "datasource": {
  2983. "type": "prometheus",
  2984. "uid": "$datasource"
  2985. },
  2986. "description": "Receivers -> Processor(s) -> Exporters (Node Graph panel is beta, so this panel may not show data correctly).",
  2987. "gridPos": {
  2988. "h": 9,
  2989. "w": 8,
  2990. "x": 16,
  2991. "y": 70
  2992. },
  2993. "id": 61,
  2994. "options": {
  2995. "nodes": {
  2996. "mainStatUnit": "flops"
  2997. }
  2998. },
  2999. "targets": [
  3000. {
  3001. "datasource": {
  3002. "type": "prometheus",
  3003. "uid": "$datasource"
  3004. },
  3005. "editorMode": "code",
  3006. "exemplar": false,
  3007. "expr": "# receivers\nlabel_replace(\n label_join(\n label_join(\n sum(${metric:value}(\n otelcol_receiver_accepted_log_records{receiver=~\"$receiver\",job=\"$job\"}[$__rate_interval])\n ) by (receiver)\n , \"id\", \"-rcv-\", \"transport\", \"receiver\"\n )\n , \"title\", \"\", \"transport\", \"receiver\"\n )\n , \"icon\", \"arrow-to-right\", \"\", \"\"\n)\n\n# dummy processor\nor\nlabel_replace(\n label_replace(\n label_replace(\n (sum(rate(otelcol_process_uptime{job=\"$job\"}[$__interval])))\n , \"id\", \"processor\", \"\", \"\"\n )\n , \"title\", \"Processor(s)\", \"\", \"\"\n )\n , \"icon\", \"arrow-random\", \"\", \"\"\n)\n\n# exporters\nor\nlabel_replace(\n label_join(\n label_join(\n sum(${metric:value}(\n otelcol_exporter_sent_log_records{exporter=~\"$exporter\",job=\"$job\"}[$__rate_interval])\n ) by (exporter)\n , \"id\", \"-exp-\", \"transport\", \"exporter\"\n )\n , \"title\", \"\", \"transport\", \"exporter\"\n )\n , \"icon\", \"arrow-from-right\", \"\", \"\"\n)",
  3008. "format": "table",
  3009. "hide": false,
  3010. "instant": true,
  3011. "legendFormat": "__auto",
  3012. "range": false,
  3013. "refId": "nodes"
  3014. },
  3015. {
  3016. "datasource": {
  3017. "type": "prometheus",
  3018. "uid": "$datasource"
  3019. },
  3020. "editorMode": "code",
  3021. "exemplar": false,
  3022. "expr": "# receivers -> processor\r\nlabel_join(\r\n label_replace(\r\n label_join(\r\n (sum(rate(otelcol_receiver_accepted_log_records{job=\"$job\"}[$__interval])) by (receiver))\r\n , \"source\", \"-rcv-\", \"transport\", \"receiver\"\r\n )\r\n , \"target\", \"processor\", \"\", \"\"\r\n )\r\n , \"id\", \"-edg-\", \"source\", \"target\"\r\n)\r\n\r\n# processor -> exporters\r\nor \r\nlabel_join(\r\n label_replace(\r\n label_join(\r\n (sum(rate(otelcol_exporter_sent_log_records{job=\"$job\"}[$__interval])) by (exporter))\r\n ,\"target\",\"-exp-\",\"transport\",\"exporter\"\r\n )\r\n ,\"source\",\"processor\",\"\",\"\"\r\n )\r\n ,\"id\",\"-edg-\",\"source\",\"target\"\r\n)",
  3023. "format": "table",
  3024. "hide": false,
  3025. "instant": true,
  3026. "legendFormat": "__auto",
  3027. "range": false,
  3028. "refId": "edges"
  3029. }
  3030. ],
  3031. "title": "Log Records Flow",
  3032. "transformations": [
  3033. {
  3034. "id": "renameByRegex",
  3035. "options": {
  3036. "regex": "Value",
  3037. "renamePattern": "mainstat"
  3038. }
  3039. },
  3040. {
  3041. "disabled": true,
  3042. "id": "calculateField",
  3043. "options": {
  3044. "alias": "secondarystat",
  3045. "mode": "reduceRow",
  3046. "reduce": {
  3047. "include": [
  3048. "mainstat"
  3049. ],
  3050. "reducer": "sum"
  3051. }
  3052. }
  3053. }
  3054. ],
  3055. "type": "nodeGraph"
  3056. },
  3057. {
  3058. "datasource": {
  3059. "type": "prometheus",
  3060. "uid": "$datasource"
  3061. },
  3062. "editable": true,
  3063. "error": false,
  3064. "gridPos": {
  3065. "h": 3,
  3066. "w": 24,
  3067. "x": 0,
  3068. "y": 79
  3069. },
  3070. "id": 45,
  3071. "links": [],
  3072. "options": {
  3073. "code": {
  3074. "language": "plaintext",
  3075. "showLineNumbers": false,
  3076. "showMiniMap": false
  3077. },
  3078. "content": "<a href=\"http://www.monitoringartist.com\" target=\"_blank\" title=\"Dashboard maintained by Monitoring Artist - DevOps / Docker / Kubernetes / AWS ECS / Google GCP / Zabbix / Zenoss / Terraform / Monitoring\"><img src=\"https://monitoringartist.github.io/monitoring-artist-logo-grafana.png\" height=\"30px\" /></a> | \n<a target=\"_blank\" href=\"https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/troubleshooting.md#metrics\">OTEL collector troubleshooting (how to enable telemetry metrics)</a> | \n<a target=\"_blank\" href=\"https://opentelemetry.io/docs/collector/scaling/\">Scaling the Collector (metrics to watch)</a> | \n<a target=\"_blank\" href=\"https://grafana.com/grafana/dashboards/15983-opentelemetry-collector/\">Installed from Grafana.com dashboards</a>",
  3079. "mode": "html"
  3080. },
  3081. "pluginVersion": "10.0.3",
  3082. "targets": [
  3083. {
  3084. "datasource": {
  3085. "type": "prometheus",
  3086. "uid": "$datasource"
  3087. },
  3088. "refId": "A"
  3089. }
  3090. ],
  3091. "title": "Documentation",
  3092. "type": "text"
  3093. }
  3094. ],
  3095. "refresh": "10s",
  3096. "schemaVersion": 38,
  3097. "style": "dark",
  3098. "tags": [
  3099. "opentelemetry",
  3100. "monitoring"
  3101. ],
  3102. "templating": {
  3103. "list": [
  3104. {
  3105. "current": {},
  3106. "hide": 0,
  3107. "includeAll": false,
  3108. "label": "Datasource",
  3109. "multi": false,
  3110. "name": "datasource",
  3111. "options": [],
  3112. "query": "prometheus",
  3113. "queryValue": "",
  3114. "refresh": 1,
  3115. "regex": "",
  3116. "skipUrlSync": false,
  3117. "type": "datasource"
  3118. },
  3119. {
  3120. "current": {},
  3121. "datasource": {
  3122. "type": "prometheus",
  3123. "uid": "$datasource"
  3124. },
  3125. "definition": "label_values(otelcol_process_uptime, job)",
  3126. "hide": 0,
  3127. "includeAll": false,
  3128. "label": "Job",
  3129. "multi": false,
  3130. "name": "job",
  3131. "options": [],
  3132. "query": {
  3133. "query": "label_values(otelcol_process_uptime, job)",
  3134. "refId": "StandardVariableQuery"
  3135. },
  3136. "refresh": 1,
  3137. "regex": "",
  3138. "skipUrlSync": false,
  3139. "sort": 1,
  3140. "type": "query"
  3141. },
  3142. {
  3143. "auto": true,
  3144. "auto_count": 300,
  3145. "auto_min": "10s",
  3146. "current": {
  3147. "selected": false,
  3148. "text": "auto",
  3149. "value": "$__auto_interval_minstep"
  3150. },
  3151. "hide": 0,
  3152. "label": "Min step",
  3153. "name": "minstep",
  3154. "options": [
  3155. {
  3156. "selected": true,
  3157. "text": "auto",
  3158. "value": "$__auto_interval_minstep"
  3159. },
  3160. {
  3161. "selected": false,
  3162. "text": "10s",
  3163. "value": "10s"
  3164. },
  3165. {
  3166. "selected": false,
  3167. "text": "30s",
  3168. "value": "30s"
  3169. },
  3170. {
  3171. "selected": false,
  3172. "text": "1m",
  3173. "value": "1m"
  3174. },
  3175. {
  3176. "selected": false,
  3177. "text": "5m",
  3178. "value": "5m"
  3179. }
  3180. ],
  3181. "query": "10s,30s,1m,5m",
  3182. "queryValue": "",
  3183. "refresh": 2,
  3184. "skipUrlSync": false,
  3185. "type": "interval"
  3186. },
  3187. {
  3188. "current": {
  3189. "selected": true,
  3190. "text": "Rate",
  3191. "value": "rate"
  3192. },
  3193. "hide": 0,
  3194. "includeAll": false,
  3195. "label": "Base metric",
  3196. "multi": false,
  3197. "name": "metric",
  3198. "options": [
  3199. {
  3200. "selected": true,
  3201. "text": "Rate",
  3202. "value": "rate"
  3203. },
  3204. {
  3205. "selected": false,
  3206. "text": "Count",
  3207. "value": "increase"
  3208. }
  3209. ],
  3210. "query": "Rate : rate, Count : increase",
  3211. "queryValue": "",
  3212. "skipUrlSync": false,
  3213. "type": "custom"
  3214. },
  3215. {
  3216. "allValue": ".*",
  3217. "current": {},
  3218. "datasource": {
  3219. "type": "prometheus",
  3220. "uid": "$datasource"
  3221. },
  3222. "definition": "label_values(receiver)",
  3223. "hide": 0,
  3224. "includeAll": true,
  3225. "label": "Receiver",
  3226. "multi": false,
  3227. "name": "receiver",
  3228. "options": [],
  3229. "query": {
  3230. "query": "label_values(receiver)",
  3231. "refId": "StandardVariableQuery"
  3232. },
  3233. "refresh": 2,
  3234. "regex": "",
  3235. "skipUrlSync": false,
  3236. "sort": 1,
  3237. "tagValuesQuery": "",
  3238. "tagsQuery": "",
  3239. "type": "query",
  3240. "useTags": false
  3241. },
  3242. {
  3243. "current": {},
  3244. "datasource": {
  3245. "type": "prometheus",
  3246. "uid": "$datasource"
  3247. },
  3248. "definition": "label_values(processor)",
  3249. "hide": 0,
  3250. "includeAll": true,
  3251. "label": "Processor",
  3252. "multi": false,
  3253. "name": "processor",
  3254. "options": [],
  3255. "query": {
  3256. "query": "label_values(processor)",
  3257. "refId": "StandardVariableQuery"
  3258. },
  3259. "refresh": 2,
  3260. "regex": "",
  3261. "skipUrlSync": false,
  3262. "sort": 1,
  3263. "tagValuesQuery": "",
  3264. "tagsQuery": "",
  3265. "type": "query",
  3266. "useTags": false
  3267. },
  3268. {
  3269. "allValue": ".*",
  3270. "current": {},
  3271. "datasource": {
  3272. "type": "prometheus",
  3273. "uid": "$datasource"
  3274. },
  3275. "definition": "label_values(exporter)",
  3276. "hide": 0,
  3277. "includeAll": true,
  3278. "label": "Exporter",
  3279. "multi": false,
  3280. "name": "exporter",
  3281. "options": [],
  3282. "query": {
  3283. "query": "label_values(exporter)",
  3284. "refId": "StandardVariableQuery"
  3285. },
  3286. "refresh": 2,
  3287. "regex": "",
  3288. "skipUrlSync": false,
  3289. "sort": 1,
  3290. "tagValuesQuery": "",
  3291. "tagsQuery": "",
  3292. "type": "query",
  3293. "useTags": false
  3294. },
  3295. {
  3296. "current": {
  3297. "selected": true,
  3298. "text": "None (basic metrics)",
  3299. "value": ""
  3300. },
  3301. "description": "Detailed metrics must be configured in the collector configuration. They add grouping by transport protocol (http/grpc) for receivers. ",
  3302. "hide": 0,
  3303. "includeAll": false,
  3304. "label": "Additional groupping",
  3305. "multi": false,
  3306. "name": "grouping",
  3307. "options": [
  3308. {
  3309. "selected": true,
  3310. "text": "None (basic metrics)",
  3311. "value": ""
  3312. },
  3313. {
  3314. "selected": false,
  3315. "text": "By transport (detailed metrics)",
  3316. "value": ",transport"
  3317. },
  3318. {
  3319. "selected": false,
  3320. "text": "By service instance id",
  3321. "value": ",service_instance_id"
  3322. }
  3323. ],
  3324. "query": "None (basic metrics) : , By transport (detailed metrics) : \\,transport, By service instance id : \\,service_instance_id",
  3325. "queryValue": "",
  3326. "skipUrlSync": false,
  3327. "type": "custom"
  3328. }
  3329. ]
  3330. },
  3331. "time": {
  3332. "from": "now-6h",
  3333. "to": "now"
  3334. },
  3335. "timepicker": {
  3336. "refresh_intervals": [
  3337. "5s",
  3338. "10s",
  3339. "30s",
  3340. "1m",
  3341. "5m",
  3342. "15m",
  3343. "30m",
  3344. "1h",
  3345. "2h",
  3346. "1d"
  3347. ],
  3348. "time_options": [
  3349. "5m",
  3350. "15m",
  3351. "1h",
  3352. "6h",
  3353. "12h",
  3354. "24h",
  3355. "2d",
  3356. "7d",
  3357. "30d"
  3358. ]
  3359. },
  3360. "timezone": "utc",
  3361. "title": "OpenTelemetry Collector",
  3362. "uid": "BKf2sowmj",
  3363. "version": 72,
  3364. "weekStart": ""
  3365. }