diff --git a/workshop/demos/self_service_observability/SelfServiceObservability.json b/workshop/demos/self_service_observability/SelfServiceObservability.json new file mode 100644 index 0000000000..03c7084615 --- /dev/null +++ b/workshop/demos/self_service_observability/SelfServiceObservability.json @@ -0,0 +1,471 @@ +{ + "chartExports": [ + { + "chart": { + "autoDetectRelatedDetectorIds": [], + "created": 0, + "creator": null, + "customProperties": {}, + "description": "", + "id": "GJGiXUuAwAA", + "lastUpdated": 0, + "lastUpdatedBy": null, + "name": "custom metrics by token", + "options": { + "groupBy": [ + "None" + ], + "groupBySort": "Descending", + "hideMissingValues": false, + "legendOptions": { + "fields": [ + { + "enabled": false, + "property": "sf_originatingMetric" + }, + { + "enabled": false, + "property": "orgId" + }, + { + "enabled": false, + "property": "sf_metric" + }, + { + "enabled": true, + "property": "tokenId" + }, + { + "enabled": true, + "property": "tokenName" + } + ] + }, + "maximumPrecision": null, + "programOptions": { + "disableSampling": false, + "maxDelay": 0, + "minimumResolution": 0, + "timezone": null + }, + "publishLabelOptions": [ + { + "displayName": "sf.org.numCustomMetricsByToken", + "label": "A", + "valuePrefix": "", + "valueSuffix": "", + "valueUnit": null + } + ], + "refreshInterval": null, + "sortBy": "", + "time": { + "range": 900000, + "rangeEnd": 0, + "type": "relative" + }, + "timestampHidden": false, + "type": "TableChart", + "unitPrefix": "Metric" + }, + "packageSpecifications": "", + "programText": "A = data('sf.org.numCustomMetricsByToken').promote('tokenName').publish(label='A')", + "relatedDetectorIds": [], + "tags": [] + } + }, + { + "chart": { + "autoDetectRelatedDetectorIds": [], + "created": 0, + "creator": null, + "customProperties": {}, + "description": "trends over time", + "id": "GQ2IhFZA4Aw", + "lastUpdated": 0, + "lastUpdatedBy": null, + "name": "custom metrics by token", + "options": { + "areaChartOptions": { + "showDataMarkers": false + }, + "axes": [ + { + "highWatermark": null, + "highWatermarkLabel": null, + "label": "", + "lowWatermark": null, + "lowWatermarkLabel": null, + "max": null, + "min": null + }, + { + "highWatermark": null, + "highWatermarkLabel": null, + "label": "", + "lowWatermark": null, + "lowWatermarkLabel": null, + "max": null, + "min": null + } + ], + "axisPrecision": null, + "colorBy": "Dimension", + "defaultPlotType": "AreaChart", + "eventPublishLabelOptions": [], + "histogramChartOptions": { + "colorThemeIndex": 16 + }, + "includeZero": false, + "legendOptions": { + "fields": [ + { + "enabled": false, + "property": "sf_originatingMetric" + }, + { + "enabled": false, + "property": "orgId" + }, + { + "enabled": false, + "property": "sf_metric" + }, + { + "enabled": true, + "property": "tokenId" + }, + { + "enabled": true, + "property": "tokenName" + } + ] + }, + "lineChartOptions": { + "showDataMarkers": false + }, + "noDataOptions": { + "linkText": null, + "linkUrl": null, + "noDataMessage": null + }, + "onChartLegendOptions": { + "dimensionInLegend": "tokenName", + "showLegend": true + }, + "programOptions": { + "disableSampling": false, + "maxDelay": 0, + "minimumResolution": 0, + "timezone": null + }, + "publishLabelOptions": [ + { + "displayName": "sf.org.numCustomMetricsByToken", + "label": "A", + "paletteIndex": null, + "plotType": null, + "valuePrefix": "", + "valueSuffix": "", + "valueUnit": null, + "yAxis": 0 + } + ], + "showEventLines": false, + "stacked": false, + "time": { + "range": 900000, + "rangeEnd": 0, + "type": "relative" + }, + "type": "TimeSeriesChart", + "unitPrefix": "Metric" + }, + "packageSpecifications": "", + "programText": "A = data('sf.org.numCustomMetricsByToken', extrapolation='last_value', resolution='1m').promote('tokenName').publish(label='A')\n\n# Please provide a detector ID to link to and uncomment the following line:\nalerts(detector_id=\"GHblvtmAAAs\").publish()", + "relatedDetectorIds": [ + "GHblvtmAAAs" + ], + "tags": [] + } + }, + { + "chart": { + "autoDetectRelatedDetectorIds": [], + "created": 0, + "creator": null, + "customProperties": {}, + "description": "", + "id": "GSsWUERA0AA", + "lastUpdated": 0, + "lastUpdatedBy": null, + "name": "splunk_mpm.num_calls by Server ID", + "options": { + "areaChartOptions": { + "showDataMarkers": false + }, + "axes": [ + { + "highWatermark": null, + "highWatermarkLabel": null, + "label": "", + "lowWatermark": null, + "lowWatermarkLabel": null, + "max": null, + "min": null + }, + { + "highWatermark": null, + "highWatermarkLabel": null, + "label": "", + "lowWatermark": null, + "lowWatermarkLabel": null, + "max": null, + "min": null + } + ], + "axisPrecision": null, + "colorBy": "Dimension", + "defaultPlotType": "ColumnChart", + "eventPublishLabelOptions": [], + "histogramChartOptions": { + "colorThemeIndex": 16 + }, + "includeZero": false, + "legendOptions": { + "fields": null + }, + "lineChartOptions": { + "showDataMarkers": false + }, + "noDataOptions": { + "linkText": null, + "linkUrl": null, + "noDataMessage": null + }, + "onChartLegendOptions": { + "dimensionInLegend": "splunk_server_id", + "showLegend": true + }, + "programOptions": { + "disableSampling": false, + "maxDelay": 0, + "minimumResolution": 0, + "timezone": null + }, + "publishLabelOptions": [ + { + "displayName": "A", + "label": "A", + "paletteIndex": null, + "plotType": null, + "valuePrefix": null, + "valueSuffix": null, + "valueUnit": null, + "yAxis": 0 + } + ], + "showEventLines": false, + "stacked": false, + "time": { + "range": 900000, + "rangeEnd": 0, + "type": "relative" + }, + "type": "TimeSeriesChart", + "unitPrefix": "Metric" + }, + "packageSpecifications": "", + "programText": "A = data('splunk_mpm.num_calls').sum(by=['splunk_server_id']).publish(label='A')", + "relatedDetectorIds": [], + "tags": [] + } + }, + { + "chart": { + "autoDetectRelatedDetectorIds": [], + "created": 0, + "creator": null, + "customProperties": {}, + "description": "maximum", + "id": "GSsWUFbAwAE", + "lastUpdated": 0, + "lastUpdatedBy": null, + "name": "splunk_mpm.mean_latency_ms by API", + "options": { + "areaChartOptions": { + "showDataMarkers": false + }, + "axes": [ + { + "highWatermark": null, + "highWatermarkLabel": null, + "label": "", + "lowWatermark": null, + "lowWatermarkLabel": null, + "max": null, + "min": null + }, + { + "highWatermark": null, + "highWatermarkLabel": null, + "label": "", + "lowWatermark": null, + "lowWatermarkLabel": null, + "max": null, + "min": null + } + ], + "axisPrecision": null, + "colorBy": "Dimension", + "defaultPlotType": "AreaChart", + "eventPublishLabelOptions": [], + "histogramChartOptions": { + "colorThemeIndex": 16 + }, + "includeZero": false, + "legendOptions": { + "fields": null + }, + "lineChartOptions": { + "showDataMarkers": false + }, + "noDataOptions": { + "linkText": null, + "linkUrl": null, + "noDataMessage": null + }, + "onChartLegendOptions": { + "dimensionInLegend": "splunk_api_id", + "showLegend": true + }, + "programOptions": { + "disableSampling": false, + "maxDelay": 0, + "minimumResolution": 0, + "timezone": null + }, + "publishLabelOptions": [ + { + "displayName": "A", + "label": "A", + "paletteIndex": null, + "plotType": null, + "valuePrefix": null, + "valueSuffix": null, + "valueUnit": null, + "yAxis": 0 + } + ], + "showEventLines": false, + "stacked": false, + "time": { + "range": 900000, + "rangeEnd": 0, + "type": "relative" + }, + "type": "TimeSeriesChart", + "unitPrefix": "Metric" + }, + "packageSpecifications": "", + "programText": "A = data('splunk_mpm.mean_latency_ms').max(by=['splunk_api_id']).publish(label='A')", + "relatedDetectorIds": [], + "tags": [] + } + } + ], + "crossLinkExports": [], + "dashboardExports": [ + { + "dashboard": { + "authorizedWriters": null, + "chartDensity": "DEFAULT", + "charts": [ + { + "chartId": "GJGiXUuAwAA", + "column": 0, + "height": 2, + "row": 0, + "width": 6 + }, + { + "chartId": "GQ2IhFZA4Aw", + "column": 6, + "height": 1, + "row": 0, + "width": 6 + }, + { + "chartId": "GSsWUERA0AA", + "column": 6, + "height": 1, + "row": 1, + "width": 6 + }, + { + "chartId": "GSsWUFbAwAE", + "column": 6, + "height": 1, + "row": 2, + "width": 6 + } + ], + "created": 0, + "creator": null, + "customProperties": null, + "description": "", + "discoveryOptions": null, + "eventOverlays": null, + "filters": { + "sources": null, + "time": { + "end": "Now", + "start": "-15m" + }, + "variables": [] + }, + "groupId": "GJGlsgHA0AM", + "groupName": "Self Service Observability", + "id": "GJGlsgHA0AQ", + "lastUpdated": 0, + "lastUpdatedBy": null, + "maxDelayOverride": null, + "name": "Self Service Observability", + "permissions": null, + "selectedEventOverlays": [], + "tags": null + } + } + ], + "groupExport": { + "group": { + "authorizedWriters": null, + "created": 0, + "creator": null, + "dashboardConfigs": [ + { + "configId": "GJGlsgHA0AU", + "dashboardId": "GJGlsgHA0AQ", + "descriptionOverride": null, + "filtersOverride": null, + "nameOverride": null + } + ], + "dashboards": [ + "GJGlsgHA0AQ" + ], + "description": "", + "email": null, + "id": "GJGlsgHA0AM", + "lastUpdated": 0, + "lastUpdatedBy": null, + "name": "Self Service Observability", + "permissions": null, + "teams": null + } + }, + "hashCode": -1206818027, + "id": "GJGlsgHA0AM", + "modelVersion": 1, + "packageType": "GROUP" +} \ No newline at end of file diff --git a/workshop/demos/self_service_observability/metrics_report.png b/workshop/demos/self_service_observability/metrics_report.png new file mode 100644 index 0000000000..b166a9392b Binary files /dev/null and b/workshop/demos/self_service_observability/metrics_report.png differ