|
| 1 | +_file_name: daily_token_consumption_trend.yaml |
| 2 | +slice_name: Daily Token Consumption Trend |
| 3 | +description: null |
| 4 | +certified_by: null |
| 5 | +certification_details: null |
| 6 | +viz_type: echarts_timeseries_line |
| 7 | +params: |
| 8 | + datasource: 92__table |
| 9 | + viz_type: echarts_timeseries_line |
| 10 | + slice_id: 167 |
| 11 | + x_axis: emission_date |
| 12 | + time_grain_sqla: P1D |
| 13 | + x_axis_sort_asc: true |
| 14 | + x_axis_sort_series: name |
| 15 | + x_axis_sort_series_ascending: true |
| 16 | + metrics: |
| 17 | + - expressionType: SIMPLE |
| 18 | + column: |
| 19 | + advanced_data_type: null |
| 20 | + certification_details: null |
| 21 | + certified_by: null |
| 22 | + column_name: total_tokens |
| 23 | + description: Total tokens used (prompt + completion) |
| 24 | + expression: null |
| 25 | + filterable: true |
| 26 | + groupby: false |
| 27 | + id: 927 |
| 28 | + is_certified: false |
| 29 | + is_dttm: false |
| 30 | + python_date_format: null |
| 31 | + type: Nullable(Int64) |
| 32 | + type_generic: 0 |
| 33 | + verbose_name: Total Tokens |
| 34 | + warning_markdown: null |
| 35 | + aggregate: SUM |
| 36 | + sqlExpression: null |
| 37 | + datasourceWarning: false |
| 38 | + hasCustomLabel: true |
| 39 | + label: Total Tokens |
| 40 | + optionName: metric_qv3jyw4lu7_h9abbkf2v8u |
| 41 | + groupby: |
| 42 | + - workflow_name |
| 43 | + contributionMode: null |
| 44 | + adhoc_filters: |
| 45 | + - clause: WHERE |
| 46 | + comparator: No filter |
| 47 | + expressionType: SIMPLE |
| 48 | + operator: TEMPORAL_RANGE |
| 49 | + subject: emission_time |
| 50 | + - clause: WHERE |
| 51 | + comparator: No filter |
| 52 | + expressionType: SIMPLE |
| 53 | + operator: TEMPORAL_RANGE |
| 54 | + subject: emission_date |
| 55 | + order_desc: true |
| 56 | + row_limit: 10000 |
| 57 | + truncate_metric: true |
| 58 | + show_empty_columns: true |
| 59 | + comparison_type: values |
| 60 | + annotation_layers: [] |
| 61 | + forecastPeriods: 10 |
| 62 | + forecastInterval: 0.8 |
| 63 | + x_axis_title_margin: 15 |
| 64 | + y_axis_title_margin: 15 |
| 65 | + y_axis_title_position: Left |
| 66 | + sort_series_type: sum |
| 67 | + color_scheme: supersetColors |
| 68 | + seriesType: line |
| 69 | + only_total: true |
| 70 | + opacity: 0.2 |
| 71 | + markerSize: 6 |
| 72 | + show_legend: true |
| 73 | + legendType: scroll |
| 74 | + legendOrientation: top |
| 75 | + x_axis_time_format: smart_date |
| 76 | + rich_tooltip: true |
| 77 | + tooltipTimeFormat: smart_date |
| 78 | + y_axis_format: SMART_NUMBER |
| 79 | + truncateXAxis: true |
| 80 | + y_axis_bounds: |
| 81 | + - null |
| 82 | + - null |
| 83 | + extra_form_data: {} |
| 84 | + dashboards: [] |
| 85 | +query_context: '{"datasource":{"id":92,"type":"table"},"force":false,"queries":[{"filters":[{"col":"emission_time","op":"TEMPORAL_RANGE","val":"No |
| 86 | + filter"},{"col":"emission_date","op":"TEMPORAL_RANGE","val":"No filter"}],"extras":{"time_grain_sqla":"P1D","having":"","where":""},"applied_time_extras":{},"columns":[{"timeGrain":"P1D","columnType":"BASE_AXIS","sqlExpression":"emission_date","label":"emission_date","expressionType":"SQL"},"workflow_name"],"metrics":[{"expressionType":"SIMPLE","column":{"advanced_data_type":null,"certification_details":null,"certified_by":null,"column_name":"total_tokens","description":"Total |
| 87 | + tokens used (prompt + completion)","expression":null,"filterable":true,"groupby":false,"id":927,"is_certified":false,"is_dttm":false,"python_date_format":null,"type":"Nullable(Int64)","type_generic":0,"verbose_name":"Total |
| 88 | + Tokens","warning_markdown":null},"aggregate":"SUM","sqlExpression":null,"datasourceWarning":false,"hasCustomLabel":true,"label":"Total |
| 89 | + Tokens","optionName":"metric_qv3jyw4lu7_h9abbkf2v8u"}],"orderby":[[{"expressionType":"SIMPLE","column":{"advanced_data_type":null,"certification_details":null,"certified_by":null,"column_name":"total_tokens","description":"Total |
| 90 | + tokens used (prompt + completion)","expression":null,"filterable":true,"groupby":false,"id":927,"is_certified":false,"is_dttm":false,"python_date_format":null,"type":"Nullable(Int64)","type_generic":0,"verbose_name":"Total |
| 91 | + Tokens","warning_markdown":null},"aggregate":"SUM","sqlExpression":null,"datasourceWarning":false,"hasCustomLabel":true,"label":"Total |
| 92 | + Tokens","optionName":"metric_qv3jyw4lu7_h9abbkf2v8u"},false]],"annotation_layers":[],"row_limit":10000,"series_columns":["workflow_name"],"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{},"time_offsets":[],"post_processing":[{"operation":"pivot","options":{"index":["emission_date"],"columns":["workflow_name"],"aggregates":{"Total |
| 93 | + Tokens":{"operator":"mean"}},"drop_missing_columns":false}},{"operation":"rename","options":{"columns":{"Total |
| 94 | + Tokens":null},"level":0,"inplace":true}},{"operation":"flatten"}]}],"form_data":{"datasource":"92__table","viz_type":"echarts_timeseries_line","slice_id":167,"x_axis":"emission_date","time_grain_sqla":"P1D","x_axis_sort_asc":true,"x_axis_sort_series":"name","x_axis_sort_series_ascending":true,"metrics":[{"expressionType":"SIMPLE","column":{"advanced_data_type":null,"certification_details":null,"certified_by":null,"column_name":"total_tokens","description":"Total |
| 95 | + tokens used (prompt + completion)","expression":null,"filterable":true,"groupby":false,"id":927,"is_certified":false,"is_dttm":false,"python_date_format":null,"type":"Nullable(Int64)","type_generic":0,"verbose_name":"Total |
| 96 | + Tokens","warning_markdown":null},"aggregate":"SUM","sqlExpression":null,"datasourceWarning":false,"hasCustomLabel":true,"label":"Total |
| 97 | + Tokens","optionName":"metric_qv3jyw4lu7_h9abbkf2v8u"}],"groupby":["workflow_name"],"contributionMode":null,"adhoc_filters":[{"clause":"WHERE","comparator":"No |
| 98 | + filter","expressionType":"SIMPLE","operator":"TEMPORAL_RANGE","subject":"emission_time"},{"clause":"WHERE","comparator":"No |
| 99 | + filter","expressionType":"SIMPLE","operator":"TEMPORAL_RANGE","subject":"emission_date"}],"order_desc":true,"row_limit":10000,"truncate_metric":true,"show_empty_columns":true,"comparison_type":"values","annotation_layers":[],"forecastPeriods":10,"forecastInterval":0.8,"x_axis_title_margin":15,"y_axis_title_margin":15,"y_axis_title_position":"Left","sort_series_type":"sum","color_scheme":"supersetColors","seriesType":"line","only_total":true,"opacity":0.2,"markerSize":6,"show_legend":true,"legendType":"scroll","legendOrientation":"top","x_axis_time_format":"smart_date","rich_tooltip":true,"tooltipTimeFormat":"smart_date","y_axis_format":"SMART_NUMBER","truncateXAxis":true,"y_axis_bounds":[null,null],"extra_form_data":{},"dashboards":[],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}' |
| 100 | +cache_timeout: null |
| 101 | +uuid: b13ccb0b-c3fe-4d04-9970-ee2c8c97ae3f |
| 102 | +version: 1.0.0 |
| 103 | +dataset_uuid: a7c3e8f1-5b2d-4e9a-8f1c-3d7e5a9b2c4f |
0 commit comments