TrackMe relies on various scheduled objects, each object carefuly reports run time metrics for the purposes of controlling their execution and for reporting purposes > = round('<>', 3) ]\n| sort 0 tenant_id, tracker", "queryParameters": { "earliest": "$global_time.earliest$", "latest": "$global_time.latest$" } }, "name": "trackers_perf_table" }, "ds_Mg04DNO6": { "type": "ds.search", "options": { "query": "| mcatalog values(metric_name) as metrics where `trackme_idx_search_filter` metric_name=\"trackme.components_register.runtime\" by tenant_id, tracker", "queryParameters": { "earliest": "$global_time.earliest$", "latest": "$global_time.latest$" } }, "name": "trackers_populate" }, "ds_4LUsXK1K": { "type": "ds.chain", "options": { "extend": "ds_Mg04DNO6", "query": "| stats count by tenant_id \n| sort 0 tenant_id" }, "name": "trackers_populate_tenant_id" }, "ds_8CDSsoWe": { "type": "ds.chain", "options": { "extend": "ds_Mg04DNO6", "query": "| search tenant_id=$tk_tenant_id$\n| stats count by tracker\n| sort 0 tracker" }, "name": "trackers_populate_trackers" }, "ds_EMTeLajw": { "type": "ds.search", "options": { "query": "| mstats avg(trackme.components_register.runtime) as avg_run_time where `trackme_idx_search_filter` tenant_id=\"$tk_tenant_id$\" tracker=\"$tk_tracker$\" by tenant_id, tracker\n| foreach avg_run_time [ eval <> = round('<>', 3) ]\n| sort - 0 avg_run_time | fields tracker avg_run_time", "queryParameters": { "earliest": "$global_time.earliest$", "latest": "$global_time.latest$" } }, "name": "tracker_perf_top" } }, "visualizations": { "viz_chart_1": { "type": "splunk.line", "dataSources": { "primary": "ds_search_1" }, "options": { "yAxisAbbreviation": "auto", "y2AxisAbbreviation": "auto", "showRoundedY2AxisLabels": false, "showY2MajorGridLines": true, "xAxisLabelRotation": 0, "xAxisTitleVisibility": "show", "yAxisTitleVisibility": "show", "y2AxisTitleVisibility": "show", "yAxisScale": "linear", "showOverlayY2Axis": 0, "y2AxisScale": "inherit", "showSplitSeries": 0, "showIndependentYRanges": 0, "legendMode": "standard", "legendDisplay": "right", "lineWidth": 2, "backgroundColor": "#000000", "legendTruncation": "ellipsisMiddle", "yAxisTitleText": "runtime (sec)", "xAxisTitleText": "none", "dataValuesDisplay": "minmax" }, "title": "Trackers runtime performance monitor over time", "description": "All trackers their runtime performance for auditing purposes" }, "viz_29HlXL59": { "type": "splunk.image", "options": { "preserveAspectRatio": true, "src": "../../static/app/trackme/icons/trackme.png" } }, "viz_3EEh1XOA": { "type": "splunk.table", "dataSources": { "primary": "ds_VvNmlkQC" }, "title": "Trackers runtime performance table", "options": { "count": 30 } }, "viz_4Z09XAG7": { "type": "splunk.pie", "options": { "showDonutHole": true }, "dataSources": { "primary": "ds_EMTeLajw" }, "showProgressBar": false, "showLastUpdated": false, "title": "Prominent trackers by average runtime" } }, "inputs": { "input_global_trp": { "type": "input.timerange", "options": { "token": "global_time", "defaultValue": "-24h@h,now" }, "title": "Period:" }, "input_uHIQHlyb": { "options": { "items": ">frame(label, value) | prepend(formattedStatics) | objects()", "defaultValue": "*", "token": "tk_tenant_id" }, "title": "tenant_id:", "type": "input.dropdown", "dataSources": { "primary": "ds_4LUsXK1K" }, "context": { "formattedConfig": { "number": { "prefix": "" } }, "formattedStatics": ">statics | formatByType(formattedConfig)", "statics": [ [ "All" ], [ "*" ] ], "label": ">primary | seriesByName(\"tenant_id\") | renameSeries(\"label\") | formatByType(formattedConfig)", "value": ">primary | seriesByName(\"tenant_id\") | renameSeries(\"value\") | formatByType(formattedConfig)" } }, "input_nAuOVL6b": { "options": { "items": ">frame(label, value) | prepend(formattedStatics) | objects()", "defaultValue": "*", "token": "tk_tracker" }, "title": "tracker:", "type": "input.dropdown", "dataSources": { "primary": "ds_8CDSsoWe" }, "context": { "formattedConfig": { "number": { "prefix": "" } }, "formattedStatics": ">statics | formatByType(formattedConfig)", "statics": [ [ "All" ], [ "*" ] ], "label": ">primary | seriesByName(\"tracker\") | renameSeries(\"label\") | formatByType(formattedConfig)", "value": ">primary | seriesByName(\"tracker\") | renameSeries(\"value\") | formatByType(formattedConfig)" } } }, "layout": { "type": "absolute", "options": { "height": 1800, "width": 1920 }, "structure": [ { "item": "viz_chart_1", "type": "block", "position": { "x": 0, "y": 470, "w": 1750, "h": 385 } }, { "item": "viz_29HlXL59", "type": "block", "position": { "x": 1630, "y": 20, "w": 120, "h": 60 } }, { "item": "viz_3EEh1XOA", "type": "block", "position": { "x": 0, "y": 880, "w": 1750, "h": 880 } }, { "item": "viz_4Z09XAG7", "type": "block", "position": { "x": 0, "y": 90, "w": 1750, "h": 360 } } ], "globalInputs": [ "input_global_trp", "input_uHIQHlyb", "input_nAuOVL6b" ] }, "title": "TrackMe - trackers Performance DeepDive", "defaults": { "dataSources": { "ds.search": { "options": { "queryParameters": { "latest": "$global_time.latest$", "earliest": "$global_time.earliest$" } } } } }, "description": "TrackMe relies on various scheduled objects, each object carefuly reports run time metrics for the purposes of controlling their execution and for reporting purposes" } ]]>