Skip to content

Commit 75d0da7

Browse files
author
flow-php
committed
1 parent d4ef992 commit 75d0da7

909 files changed

Lines changed: 12540 additions & 5631 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

aggregations/aggregating_functions/average/index.html

Lines changed: 13 additions & 5 deletions
Large diffs are not rendered by default.

aggregations/aggregating_functions/first/index.html

Lines changed: 13 additions & 5 deletions
Large diffs are not rendered by default.

aggregations/aggregating_functions/last/index.html

Lines changed: 13 additions & 5 deletions
Large diffs are not rendered by default.

aggregations/aggregating_functions/max/index.html

Lines changed: 13 additions & 5 deletions
Large diffs are not rendered by default.

aggregations/aggregating_functions/min/index.html

Lines changed: 13 additions & 5 deletions
Large diffs are not rendered by default.

aggregations/aggregating_functions/sum/index.html

Lines changed: 13 additions & 5 deletions
Large diffs are not rendered by default.

aggregations/grouping/group_by/index.html

Lines changed: 13 additions & 5 deletions
Large diffs are not rendered by default.

aggregations/grouping/group_by_sum/index.html

Lines changed: 13 additions & 5 deletions
Large diffs are not rendered by default.

assets/codemirror/completions/dsl-4a58d693df76cb734a1e03b540052db1.js renamed to assets/codemirror/completions/dsl-e45f859b48e18bdd8828613e46d41580.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8593,15 +8593,15 @@ const dslFunctions = [
85938593
const div = document.createElement("div")
85948594
div.innerHTML = `
85958595
<div style="font-family: 'Fira Code', 'JetBrains Mono', monospace; margin-bottom: 8px;">
8596-
<span class=\"fn-name\">span_event</span><span class=\"fn-operator\">(</span><span class=\"fn-type\">string</span> <span class=\"fn-param\">$name</span><span class=\"fn-operator\">,</span> <span class=\"fn-type\">array</span> <span class=\"fn-param\">$attributes</span> <span class=\"fn-operator\">=</span> <span class=\"fn-default\">[]</span><span class=\"fn-operator\">)</span> <span class=\"fn-operator\">:</span> <span class=\"fn-return\">GenericEvent</span>
8596+
<span class=\"fn-name\">span_event</span><span class=\"fn-operator\">(</span><span class=\"fn-type\">string</span> <span class=\"fn-param\">$name</span><span class=\"fn-operator\">,</span> <span class=\"fn-type\">DateTimeImmutable</span> <span class=\"fn-param\">$timestamp</span><span class=\"fn-operator\">,</span> <span class=\"fn-type\">array</span> <span class=\"fn-param\">$attributes</span> <span class=\"fn-operator\">=</span> <span class=\"fn-default\">[]</span><span class=\"fn-operator\">)</span> <span class=\"fn-operator\">:</span> <span class=\"fn-return\">GenericEvent</span>
85978597
</div>
85988598
<div style="color: #8b949e; font-size: 13px;">
8599-
Create a SpanEvent (GenericEvent) with the current timestamp.<br>@param string $name Event name<br>@param array<string, array<bool|float|int|string>|bool|float|int|string> $attributes Event attributes
8599+
Create a SpanEvent (GenericEvent) with an explicit timestamp.<br>@param string $name Event name<br>@param \\DateTimeImmutable $timestamp Event timestamp<br>@param array<string, array<bool|float|int|string>|bool|float|int|string> $attributes Event attributes
86008600
</div>
86018601
`
86028602
return div
86038603
},
8604-
apply: snippet("\\Flow\\Telemetry\\DSL\\span_event(" + "$" + "{" + "1:name" + "}" + ", " + "$" + "{" + "2:attributes" + "}" + ")"),
8604+
apply: snippet("\\Flow\\Telemetry\\DSL\\span_event(" + "$" + "{" + "1:name" + "}" + ", " + "$" + "{" + "2:timestamp" + "}" + ", " + "$" + "{" + "3:attributes" + "}" + ")"),
86058605
boost: 10
86068606
}, {
86078607
label: "span_id",

assets/importmap.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
"type": "js"
109109
},
110110
"\/assets\/codemirror\/completions\/dsl.js": {
111-
"path": "\/assets\/codemirror\/completions\/dsl-4a58d693df76cb734a1e03b540052db1.js",
111+
"path": "\/assets\/codemirror\/completions\/dsl-e45f859b48e18bdd8828613e46d41580.js",
112112
"type": "js"
113113
},
114114
"\/assets\/codemirror\/completions\/dataframe.js": {

0 commit comments

Comments
 (0)