Skip to content

Commit

Permalink
[skip ci] Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
badboy committed Mar 11, 2024
1 parent adb52ac commit 2ec2542
Show file tree
Hide file tree
Showing 277 changed files with 295 additions and 285 deletions.
5 changes: 5 additions & 0 deletions book/appendix/changelog/sdk.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,11 @@ <h1 class="menu-title">Glean SDKs - Cross-platform Telemetry Libraries</h1>
<h1 id="unreleased-changes"><a class="header" href="#unreleased-changes">Unreleased changes</a></h1>
<p><a href="https://github.com/mozilla/glean/compare/v58.0.0...main">Full changelog</a></p>
<ul>
<li>General
<ul>
<li>Enable wall clock timestamp on all events by default (<a href="https://github.com/mozilla/glean/issues/2767">#2767</a>)</li>
</ul>
</li>
<li>Rust
<ul>
<li>Timing distribution and Custom distributions now expose <code>accumulate_single_sample</code>. This includes their traits and consumers that make use of them will need to implement the new functions (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1881297">Bug 1881297</a>)</li>
Expand Down
5 changes: 5 additions & 0 deletions book/print.html
Original file line number Diff line number Diff line change
Expand Up @@ -11746,6 +11746,11 @@ <h2 id="this-week-in-glean-twig"><a class="header" href="#this-week-in-glean-twi
<footer id="open-on-gh">Found a bug? <a href="https://github.com/mozilla/glean/edit/main/docs/user/appendix/changelog/index.md">Edit this page on GitHub.</a></footer><div style="break-before: page; page-break-before: always;"></div><h1 id="unreleased-changes"><a class="header" href="#unreleased-changes">Unreleased changes</a></h1>
<p><a href="https://github.com/mozilla/glean/compare/v58.0.0...main">Full changelog</a></p>
<ul>
<li>General
<ul>
<li>Enable wall clock timestamp on all events by default (<a href="https://github.com/mozilla/glean/issues/2767">#2767</a>)</li>
</ul>
</li>
<li>Rust
<ul>
<li>Timing distribution and Custom distributions now expose <code>accumulate_single_sample</code>. This includes their traits and consumers that make use of them will need to implement the new functions (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1881297">Bug 1881297</a>)</li>
Expand Down
2 changes: 1 addition & 1 deletion book/searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion book/searchindex.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/glean/struct.Glean.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h3 id="example"><a href="#example">Example</a></h3>
trim_data_to_registered_pings: <span class="bool-val">false</span>,
log_level: <span class="prelude-val">None</span>,
rate_limit: <span class="prelude-val">None</span>,
enable_event_timestamps: <span class="bool-val">false</span>,
enable_event_timestamps: <span class="bool-val">true</span>,
experimentation_id: <span class="prelude-val">None</span>,
};
<span class="kw">let </span><span class="kw-2">mut </span>glean = Glean::new(cfg).unwrap();
Expand Down
2 changes: 1 addition & 1 deletion docs/glean_core/struct.Glean.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h3 id="example"><a href="#example">Example</a></h3>
trim_data_to_registered_pings: <span class="bool-val">false</span>,
log_level: <span class="prelude-val">None</span>,
rate_limit: <span class="prelude-val">None</span>,
enable_event_timestamps: <span class="bool-val">false</span>,
enable_event_timestamps: <span class="bool-val">true</span>,
experimentation_id: <span class="prelude-val">None</span>,
};
<span class="kw">let </span><span class="kw-2">mut </span>glean = Glean::new(cfg).unwrap();
Expand Down
2 changes: 1 addition & 1 deletion docs/src/glean/configuration.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@
trim_data_to_registered_pings: <span class="bool-val">false</span>,
log_level: <span class="prelude-val">None</span>,
rate_limit: <span class="prelude-val">None</span>,
enable_event_timestamps: <span class="bool-val">false</span>,
enable_event_timestamps: <span class="bool-val">true</span>,
experimentation_id: <span class="prelude-val">None</span>,
}
}
Expand Down
4 changes: 2 additions & 2 deletions docs/src/glean_core/core/mod.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -1110,7 +1110,7 @@
/// trim_data_to_registered_pings: false,
/// log_level: None,
/// rate_limit: None,
/// enable_event_timestamps: false,
/// enable_event_timestamps: true,
/// experimentation_id: None,
/// };
/// let mut glean = Glean::new(cfg).unwrap();
Expand Down Expand Up @@ -1310,7 +1310,7 @@
trim_data_to_registered_pings: <span class="bool-val">false</span>,
log_level: <span class="prelude-val">None</span>,
rate_limit: <span class="prelude-val">None</span>,
enable_event_timestamps: <span class="bool-val">false</span>,
enable_event_timestamps: <span class="bool-val">true</span>,
experimentation_id: <span class="prelude-val">None</span>,
};

Expand Down
12 changes: 6 additions & 6 deletions python/glean/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h1 class="title">Module <code>glean.config</code></h1>
max_events: int = DEFAULT_MAX_EVENTS,
ping_uploader: Optional[net.BaseUploader] = None,
allow_multiprocessing: bool = True,
enable_event_timestamps: bool = False,
enable_event_timestamps: bool = True,
experimentation_id: Optional[str] = None,
):
&#34;&#34;&#34;
Expand All @@ -77,7 +77,7 @@ <h1 class="title">Module <code>glean.config</code></h1>
allow_multiprocessing (bool): When True (default), use a subprocess
to offload some work (such as ping uploading).
enable_event_timestamps (bool): (Experimental) Whether to add a
wallclock timestamp to all events. Default: `false`.
wallclock timestamp to all events. Default: `True`.
&#34;&#34;&#34;
if server_endpoint is None:
server_endpoint = DEFAULT_TELEMETRY_ENDPOINT
Expand Down Expand Up @@ -154,7 +154,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
<dl>
<dt id="glean.config.Configuration"><code class="flex name class">
<span>class <span class="ident">Configuration</span></span>
<span>(</span><span>server_endpoint: Optional[str] = None, channel: Optional[str] = None, max_events: int = 500, ping_uploader: Optional[<a title="glean.net.base_uploader.BaseUploader" href="net/base_uploader.html#glean.net.base_uploader.BaseUploader">BaseUploader</a>] = None, allow_multiprocessing: bool = True, enable_event_timestamps: bool = False, experimentation_id: Optional[str] = None)</span>
<span>(</span><span>server_endpoint: Optional[str] = None, channel: Optional[str] = None, max_events: int = 500, ping_uploader: Optional[<a title="glean.net.base_uploader.BaseUploader" href="net/base_uploader.html#glean.net.base_uploader.BaseUploader">BaseUploader</a>] = None, allow_multiprocessing: bool = True, enable_event_timestamps: bool = True, experimentation_id: Optional[str] = None)</span>
</code></dt>
<dd>
<div class="desc"><p>Configuration values for Glean.</p>
Expand All @@ -177,7 +177,7 @@ <h2 id="args">Args</h2>
to offload some work (such as ping uploading).</dd>
<dt><strong><code>enable_event_timestamps</code></strong> :&ensp;<code>bool</code></dt>
<dd>(Experimental) Whether to add a
wallclock timestamp to all events. Default: <code>false</code>.</dd>
wallclock timestamp to all events. Default: <code>True</code>.</dd>
</dl></div>
<details class="source">
<summary>
Expand All @@ -195,7 +195,7 @@ <h2 id="args">Args</h2>
max_events: int = DEFAULT_MAX_EVENTS,
ping_uploader: Optional[net.BaseUploader] = None,
allow_multiprocessing: bool = True,
enable_event_timestamps: bool = False,
enable_event_timestamps: bool = True,
experimentation_id: Optional[str] = None,
):
&#34;&#34;&#34;
Expand All @@ -211,7 +211,7 @@ <h2 id="args">Args</h2>
allow_multiprocessing (bool): When True (default), use a subprocess
to offload some work (such as ping uploading).
enable_event_timestamps (bool): (Experimental) Whether to add a
wallclock timestamp to all events. Default: `false`.
wallclock timestamp to all events. Default: `True`.
&#34;&#34;&#34;
if server_endpoint is None:
server_endpoint = DEFAULT_TELEMETRY_ENDPOINT
Expand Down
8 changes: 4 additions & 4 deletions python/glean/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
<dl>
<dt id="glean.Configuration"><code class="flex name class">
<span>class <span class="ident">Configuration</span></span>
<span>(</span><span>server_endpoint: Optional[str] = None, channel: Optional[str] = None, max_events: int = 500, ping_uploader: Optional[<a title="glean.net.base_uploader.BaseUploader" href="net/base_uploader.html#glean.net.base_uploader.BaseUploader">BaseUploader</a>] = None, allow_multiprocessing: bool = True, enable_event_timestamps: bool = False, experimentation_id: Optional[str] = None)</span>
<span>(</span><span>server_endpoint: Optional[str] = None, channel: Optional[str] = None, max_events: int = 500, ping_uploader: Optional[<a title="glean.net.base_uploader.BaseUploader" href="net/base_uploader.html#glean.net.base_uploader.BaseUploader">BaseUploader</a>] = None, allow_multiprocessing: bool = True, enable_event_timestamps: bool = True, experimentation_id: Optional[str] = None)</span>
</code></dt>
<dd>
<div class="desc"><p>Configuration values for Glean.</p>
Expand All @@ -276,7 +276,7 @@ <h2 id="args">Args</h2>
to offload some work (such as ping uploading).</dd>
<dt><strong><code>enable_event_timestamps</code></strong> :&ensp;<code>bool</code></dt>
<dd>(Experimental) Whether to add a
wallclock timestamp to all events. Default: <code>false</code>.</dd>
wallclock timestamp to all events. Default: <code>True</code>.</dd>
</dl></div>
<details class="source">
<summary>
Expand All @@ -294,7 +294,7 @@ <h2 id="args">Args</h2>
max_events: int = DEFAULT_MAX_EVENTS,
ping_uploader: Optional[net.BaseUploader] = None,
allow_multiprocessing: bool = True,
enable_event_timestamps: bool = False,
enable_event_timestamps: bool = True,
experimentation_id: Optional[str] = None,
):
&#34;&#34;&#34;
Expand All @@ -310,7 +310,7 @@ <h2 id="args">Args</h2>
allow_multiprocessing (bool): When True (default), use a subprocess
to offload some work (such as ping uploading).
enable_event_timestamps (bool): (Experimental) Whether to add a
wallclock timestamp to all events. Default: `false`.
wallclock timestamp to all events. Default: `True`.
&#34;&#34;&#34;
if server_endpoint is None:
server_endpoint = DEFAULT_TELEMETRY_ENDPOINT
Expand Down
2 changes: 1 addition & 1 deletion swift/Classes.html
Original file line number Diff line number Diff line change
Expand Up @@ -1721,7 +1721,7 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2024 <a class="link" href="https://mozilla.github.com/glean" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2024-03-08)</p>
<p>&copy; 2024 <a class="link" href="https://mozilla.github.com/glean" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2024-03-11)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.4</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</article>
Expand Down
2 changes: 1 addition & 1 deletion swift/Classes/BooleanMetric.html
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2024 <a class="link" href="https://mozilla.github.com/glean" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2024-03-08)</p>
<p>&copy; 2024 <a class="link" href="https://mozilla.github.com/glean" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2024-03-11)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.4</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</article>
Expand Down
2 changes: 1 addition & 1 deletion swift/Classes/CounterMetric.html
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2024 <a class="link" href="https://mozilla.github.com/glean" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2024-03-08)</p>
<p>&copy; 2024 <a class="link" href="https://mozilla.github.com/glean" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2024-03-11)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.4</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</article>
Expand Down
2 changes: 1 addition & 1 deletion swift/Classes/CustomDistributionMetric.html
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2024 <a class="link" href="https://mozilla.github.com/glean" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2024-03-08)</p>
<p>&copy; 2024 <a class="link" href="https://mozilla.github.com/glean" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2024-03-11)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.4</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</article>
Expand Down
2 changes: 1 addition & 1 deletion swift/Classes/DatetimeMetric.html
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2024 <a class="link" href="https://mozilla.github.com/glean" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2024-03-08)</p>
<p>&copy; 2024 <a class="link" href="https://mozilla.github.com/glean" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2024-03-11)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.4</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</article>
Expand Down
2 changes: 1 addition & 1 deletion swift/Classes/DatetimeMetricType.html
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,7 @@ <h4>Return Value</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2024 <a class="link" href="https://mozilla.github.com/glean" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2024-03-08)</p>
<p>&copy; 2024 <a class="link" href="https://mozilla.github.com/glean" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2024-03-11)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.4</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</article>
Expand Down
2 changes: 1 addition & 1 deletion swift/Classes/DenominatorMetric.html
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2024 <a class="link" href="https://mozilla.github.com/glean" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2024-03-08)</p>
<p>&copy; 2024 <a class="link" href="https://mozilla.github.com/glean" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2024-03-11)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.4</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</article>
Expand Down
2 changes: 1 addition & 1 deletion swift/Classes/EventMetric.html
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2024 <a class="link" href="https://mozilla.github.com/glean" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2024-03-08)</p>
<p>&copy; 2024 <a class="link" href="https://mozilla.github.com/glean" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2024-03-11)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.4</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</article>
Expand Down
2 changes: 1 addition & 1 deletion swift/Classes/EventMetricType.html
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ <h4>Return Value</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2024 <a class="link" href="https://mozilla.github.com/glean" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2024-03-08)</p>
<p>&copy; 2024 <a class="link" href="https://mozilla.github.com/glean" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2024-03-11)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.4</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</article>
Expand Down
2 changes: 1 addition & 1 deletion swift/Classes/Glean.html
Original file line number Diff line number Diff line change
Expand Up @@ -1912,7 +1912,7 @@ <h4>Parameters</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2024 <a class="link" href="https://mozilla.github.com/glean" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2024-03-08)</p>
<p>&copy; 2024 <a class="link" href="https://mozilla.github.com/glean" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2024-03-11)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.4</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</article>
Expand Down
2 changes: 1 addition & 1 deletion swift/Classes/HttpPingUploader.html
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ <h4>Parameters</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2024 <a class="link" href="https://mozilla.github.com/glean" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2024-03-08)</p>
<p>&copy; 2024 <a class="link" href="https://mozilla.github.com/glean" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2024-03-11)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.4</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</article>
Expand Down
2 changes: 1 addition & 1 deletion swift/Classes/LabeledBoolean.html
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2024 <a class="link" href="https://mozilla.github.com/glean" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2024-03-08)</p>
<p>&copy; 2024 <a class="link" href="https://mozilla.github.com/glean" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2024-03-11)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.4</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</article>
Expand Down
2 changes: 1 addition & 1 deletion swift/Classes/LabeledCounter.html
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2024 <a class="link" href="https://mozilla.github.com/glean" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2024-03-08)</p>
<p>&copy; 2024 <a class="link" href="https://mozilla.github.com/glean" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2024-03-11)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.4</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</article>
Expand Down
Loading

0 comments on commit 2ec2542

Please sign in to comment.