From 958f2e17a9d777354bf514ceac1813b10abca825 Mon Sep 17 00:00:00 2001 From: Vishal Rana Date: Sat, 10 Oct 2026 08:30:13 -0700 Subject: [PATCH 1/2] chore: protect public repository contents --- .dockerignore | 20 + ...lop.sentry.dev-sdk-data-model-envelopes.md | 503 ------------ ...evelop.sentry.dev-sdk-expected-features.md | 105 --- ...om-open-telemetry-opentelemetry-android.md | 684 ---------------- ...y.io-docs-specs-semconv-general-session.md | 750 ------------------ .github/workflows/ci.yml | 22 +- .gitignore | 3 + AGENTS.md | 7 + CONTRIBUTING.md | 6 + .../plans/2026-09-05-logged-in-ui-shell.md | 88 +- 10 files changed, 86 insertions(+), 2102 deletions(-) delete mode 100644 .firecrawl/develop.sentry.dev-sdk-data-model-envelopes.md delete mode 100644 .firecrawl/develop.sentry.dev-sdk-expected-features.md delete mode 100644 .firecrawl/github.com-open-telemetry-opentelemetry-android.md delete mode 100644 .firecrawl/opentelemetry.io-docs-specs-semconv-general-session.md diff --git a/.dockerignore b/.dockerignore index 6b3d9702c..a49dd2c09 100644 --- a/.dockerignore +++ b/.dockerignore @@ -21,6 +21,26 @@ ui/host/dist/ # Dev files .env .env.* +.tmp/ +tmp/ + +# Local agent research, indexes, transcripts, and browser evidence. +.claude/ +.codegraph/ +.serena/ +.superpowers/ +.playwright-mcp/ +.firecrawl/ + +# Local documentation-site outputs. +site/node_modules/ +site/dist/ +site/.astro/ + +# Local browser-test outputs. +ui/host/playwright-report/ +ui/host/test-results/ +ui/host/tsconfig.tsbuildinfo # Docs *.md diff --git a/.firecrawl/develop.sentry.dev-sdk-data-model-envelopes.md b/.firecrawl/develop.sentry.dev-sdk-data-model-envelopes.md deleted file mode 100644 index 975591d9e..000000000 --- a/.firecrawl/develop.sentry.dev-sdk-data-model-envelopes.md +++ /dev/null @@ -1,503 +0,0 @@ -[Skip to content](https://develop.sentry.dev/sdk/data-model/envelopes/#main) - -[![Sentry's logo](https://develop.sentry.dev/_next/static/media/sentry-logo-dark.fc8e1eeb.svg)\ -\ -Docs](https://develop.sentry.dev/ "Sentry error monitoring") - -[Changelog](https://sentry.io/changelog/) -[Sandbox](https://sandbox.sentry.io/) -[Go to Sentry](https://sentry.io/) -[Get Started](https://sentry.io/signup/) - -Menu - -* [Getting Started](https://develop.sentry.dev/getting-started/) - -* [Engineering Practices](https://develop.sentry.dev/engineering-practices/) - -* [Application Architecture](https://develop.sentry.dev/application-architecture/) - -* [Development Infrastructure](https://develop.sentry.dev/development-infrastructure/) - -* [Backend](https://develop.sentry.dev/backend/) - -* [Frontend](https://develop.sentry.dev/frontend/) - -* [Services](https://develop.sentry.dev/services/) - -* [Integrations](https://develop.sentry.dev/integrations/) - -* [Ingestion](https://develop.sentry.dev/ingestion/) - -* [SDKs](https://develop.sentry.dev/sdk/) - * [Getting Started](https://develop.sentry.dev/sdk/getting-started/) - - * [Foundations](https://develop.sentry.dev/sdk/foundations/) - * [Client](https://develop.sentry.dev/sdk/foundations/client/) - - * [State Management](https://develop.sentry.dev/sdk/foundations/state-management/) - - * [Trace Propagation](https://develop.sentry.dev/sdk/foundations/trace-propagation/) - - * [Data Scrubbing](https://develop.sentry.dev/sdk/foundations/data-scrubbing/) - - * [Processing](https://develop.sentry.dev/sdk/foundations/processing/) - - * [Transport](https://develop.sentry.dev/sdk/foundations/transport/) - - * [Envelopes](https://develop.sentry.dev/sdk/foundations/envelopes/) - * [Envelope Items](https://develop.sentry.dev/sdk/foundations/envelopes/envelope-items/) - - * [Event Payloads](https://develop.sentry.dev/sdk/foundations/envelopes/event-payloads/) - - * [Telemetry](https://develop.sentry.dev/sdk/telemetry/) - - * [Platform Specifics](https://develop.sentry.dev/sdk/platform-specifics/) - -* [SDK Setup Wizards](https://develop.sentry.dev/sdk-setup-wizards/) - -* [Self-Hosted Sentry](https://develop.sentry.dev/self-hosted/) - - -* * * - -[Code of Conduct](https://open.sentry.io/code-of-conduct/) -[User Documentation](https://docs.sentry.io/) - -* [Home](https://develop.sentry.dev/) - -* [SDK Development](https://develop.sentry.dev/sdk/) - -* [Foundations](https://develop.sentry.dev/sdk/foundations/) - -* [Envelopes](https://develop.sentry.dev/sdk/foundations/envelopes/) - - -Copy page - -Envelopes -========= - -This document defines the Envelope and Item formats used by Sentry for data ingestion, forwarding, and offline storage. The target audience of this document is Sentry SDK developers and maintainers of the ingestion pipeline. - -##### Backward Compatibility - -Envelopes require Relay, which has been introduced in **Sentry v20.6.0**. Earlier versions of Sentry do not support Envelopes and respond with HTTP error _404 Not Found_ to envelope uploads. Likewise, Relay requires support for Envelopes on the upstream and cannot be used with older versions of Sentry. - -_Envelopes_ are a data format similar to HTTP form data, comprising common _Headers_ and a set of _Items_ with their own headers and payloads. Envelopes are optimized for fast parsing and human readability. They support a combination of multiple Items in a single payload, such as: - -* Submit events with large binary attachments. -* Enable communication between hops, for instance, between different SDKs (Native and Mobile, ReactNative and Android) and between Relays. -* Allow batching of certain Items into a single submission. -* Offline storage for deferred sending after connection issues. - -Sentry specifies a dedicated endpoint at for ingesting Envelopes: - -Bash - -Copied - - POST /api//envelope/ - - - POST /api//envelope/ - - -[Terminology](https://develop.sentry.dev/sdk/data-model/envelopes/#terminology) - --------------------------------------------------------------------------------- - -* _required_: The implementation may emit an error if this field is missing. -* _recommended_: This field should be emitted when writing, but can be missing during a read. -* _optional_: Can be omitted freely during writing and can be missing during a read. - -[Serialization Format](https://develop.sentry.dev/sdk/data-model/envelopes/#serialization-format) - --------------------------------------------------------------------------------------------------- - -This section defines the Envelope data format and serialization. For details on data integrity and a list of valid Item types refer to [Envelope Items](https://develop.sentry.dev/sdk/foundations/envelopes/envelope-items/) -. - -### [Prerequisites](https://develop.sentry.dev/sdk/data-model/envelopes/#prerequisites) - -These definitions apply to all parts of the Envelope data format: - -1. Newlines are defined as UNIX newlines, represented by `\n` and ASCII code 10. If newlines are preceded with `\r`, this character is considered part of the previous line or payload and may emit an error. -2. UUIDs are declared as either 32 character hexadecimal strings without dashes (`"12c2d058d58442709aa2eca08bf20986"`), or 36 character strings with dashes (`"12c2d058-d584-4270-9aa2-eca08bf20986"`). It is recommended to omit dashes and use UUID v4 in all cases. -3. Envelopes do not offer a mechanism for compression. However, an entire Envelope may be compressed or decompressed in an implementation defined way by any component handling Envelopes. For example, [Ingestion](https://develop.sentry.dev/sdk/data-model/envelopes/#ingestion) - allows compression via content encoding. - -### [Headers](https://develop.sentry.dev/sdk/data-model/envelopes/#headers) - -Envelopes contain Headers in several places. Headers are JSON-encoded objects (key-value mappings) that follow these rules: - -* Always encoded in UTF-8 -* Must be valid JSON -* Must be declared in a single line; no newlines -* Always followed by a newline (`\n`) or the end of the file -* Must not be padded by leading or trailing whitespace -* Should be serialized in their most compact form without additional white space. Whitespace within the JSON headers is permitted, though discouraged. -* Unknown attributes are allowed and should be retained by all implementations; however, attributes not covered in this spec must not be actively emitted by any implementation. -* All known headers and their data types can be validated by an implementation; if validation fails, the Envelope may be rejected as malformed. -* Empty headers `{}` are technically valid - -Header-only Example: - -JSON - -Copied - - { "event_id": "12c2d058d58442709aa2eca08bf20986" } - - - { "event_id": "12c2d058d58442709aa2eca08bf20986" } - - -### [Envelopes](https://develop.sentry.dev/sdk/data-model/envelopes/#envelopes) - -The full grammar for an Envelope is: - -Bash - -Copied - - Envelope = Headers { "\n" Item } [ "\n" ] ; - Item = Headers "\n" Payload ; - Payload = { * } ; - - - Envelope = Headers { "\n" Item } [ "\n" ] ; - Item = Headers "\n" Payload ; - Payload = { * } ; - - -* **Headers** are a single line containing a JSON object, as defined in the [Headers](https://develop.sentry.dev/sdk/data-model/envelopes/#headers) - section. Attributes defined in the Envelope header scope the contents of the Envelope and can be thought of as applying to all Items. -* Based on the contents of the Envelope, certain header attributes may be required. See [Envelope Items](https://develop.sentry.dev/sdk/foundations/envelopes/envelope-items/) - for a specification of required attributes. -* **Items** comprise their own headers and a payload. There can be an arbitrary number of **Items** in an Envelope separated by a newline. An implementation should consume Items until the file ends. -* Envelopes should be terminated with a trailing newline. This newline is optional. After the final newline, no whitespace is allowed. -* Envelopes may be empty, terminating immediately after the headers. -* The end of file (EOF) does not implicitly terminate an Envelope if more data is expected, such as a Payload. - -### [Envelope Headers](https://develop.sentry.dev/sdk/data-model/envelopes/#envelope-headers) - -Envelopes can have a number of headers which are valid in all situations: - -`dsn` - -_String, recommended._ An envelope can be self authenticated. This means that - -the envelope has all the information necessary to be sent to sentry. In this - -case the full DSN must be stored in this key. - -`sdk` - -_Object, recommended._ This can carry the same payload as the [`sdk` interface](https://develop.sentry.dev/sdk/foundations/transport/event-payloads/sdk/) - -in the event payload but can be carried for all events. This means that SDK - -information can be carried for minidumps, session data and other submissions. - -`sent_at` - -_String, recommended._ The timestamp when the event was sent from the SDK as string in - -[RFC 3339](https://tools.ietf.org/html/rfc3339) - format. Used for clock drift - -correction of the event timestamp. The time zone must be UTC. - -##### Implementation Guidance for the sent\_at Header - -It is recommend to _always_ send the `sent_at` envelope header. Do not try to determine whether it should be sent or not, as that determination can be made on the receiving side. - -The timestamp should be generated as close as possible to the transmission of the event, so that the delay between sending the envelope and receiving it on the server-side is minimized. This is usually accomplished in serialization of the envelope header. - -However, care must be taken that the header is only applied _once_. If more than one `sent_at` header is written, Sentry will reject the entire envelope. For example, SDKs that implement caching features should avoid writing the `sent_at` header when caching to disk. Only write it when actually sending the event to Sentry. - -The timestamp can be generated by any of the following (for example): - -JavaScript - -: `new Date().toISOString()` - -Python - -: `datetime.now(timezone.utc).isoformat()` -_Don't use `datetime.utcnow()`, as it will omit the time zone._ - -.NET - -: `DateTime.UtcNow.ToString("o", CultureInfo.InvariantCulture)` or `DateTimeOffset.UtcNow.ToString("o", CultureInfo.InvariantCulture)` - -Java - -: `Instant.now().toString()` - -_Also note that the `sent_at` header replaces the `sentry_timestamp` key previously set in authorization headers, which has now been fully deprecated. You should only send `sent_at`, and not `sentry_timestamp`._ - -### [Items](https://develop.sentry.dev/sdk/data-model/envelopes/#items) - -Items supply the data of an Envelope. Without Items, an Envelope is considered _empty_ and can safely be discarded. - -There are two generic headers for every Item: - -`type` - -**String, required.** Specifies the type of this Item and its contents. Based - -on the Item type, more headers may be required. See [Envelope Items](https://develop.sentry.dev/sdk/foundations/envelopes/envelope-items/) - for a list - -of all Item types. - -`length` - -_int, recommended._ The length of the payload in bytes. If no `length` is - -specified, the payload implicitly goes to the next newline. For payloads - -containing newline characters, the `length` must be specified. - -##### On omitting \`length\` - -By default, always declare the payload length to enable faster parsing of an Envelope. - -If the Envelope contains a large number of very small Items, omitting the length can be beneficial for compression. This is the case for sessions. - -The implementor should assess this on a per-case basis and explicitly argue about the decision. - -Notes for implementors: - -* Envelope header is **required**, but it can be empty. -* Implementations **must gracefully skip and retain** Items of unknown type, along with their payload. -* Unknown attributes must be forwarded to the upstream. -* Length-prefixed payloads must terminate with `\n` or EOF. The newline is not considered part of the payload. Any other character, including whitespace, means the Envelope is malformed. -* If `length` cannot be consumed, that is, the Envelope is EOF before the number of bytes has been consumed, then the Envelope is malformed. -* If an Item with implicit length is terminated by `\r\n`, then `\r` is considered an arbitrary character not part of the newline, and thus part of the payload. - -### [Full Examples](https://develop.sentry.dev/sdk/data-model/envelopes/#full-examples) - -These examples contain full Envelope payloads. Newlines are explicitly marked with `\n`, unprintable characters are escaped with `\x<><>`. all other characters are literal. - -**Envelope with 2 Items:** - -Note that the attachment contains a Windows newline at the end of its payload which is included in `length`: - -Bash - -Copied - - {"event_id":"9ec79c33ec9942ab8353589fcb2e04dc","dsn":"https://e12d836b15bb49d7bbf99e64295d995b:@sentry.io/42"}\n - {"type":"attachment","length":10,"content_type":"text/plain","filename":"hello.txt"}\n - \xef\xbb\xbfHello\r\n\n - {"type":"event","length":41,"content_type":"application/json","filename":"application.log"}\n - {"message":"hello world","level":"error"}\n - - - {"event_id":"9ec79c33ec9942ab8353589fcb2e04dc","dsn":"https://e12d836b15bb49d7bbf99e64295d995b:@sentry.io/42"}\n - {"type":"attachment","length":10,"content_type":"text/plain","filename":"hello.txt"}\n - \xef\xbb\xbfHello\r\n\n - {"type":"event","length":41,"content_type":"application/json","filename":"application.log"}\n - {"message":"hello world","level":"error"}\n - - -**Envelope with 2 Items, last newline omitted:** - -Note that the attachment contains a Windows newline at the end of its payload which is included in `length`: - -Bash - -Copied - - {"event_id":"9ec79c33ec9942ab8353589fcb2e04dc","dsn":"https://e12d836b15bb49d7bbf99e64295d995b:@sentry.io/42"}\n - {"type":"attachment","length":10,"content_type":"text/plain","filename":"hello.txt"}\n - \xef\xbb\xbfHello\r\n\n - {"type":"event","length":41,"content_type":"application/json","filename":"application.log"}\n - {"message":"hello world","level":"error"} - - - {"event_id":"9ec79c33ec9942ab8353589fcb2e04dc","dsn":"https://e12d836b15bb49d7bbf99e64295d995b:@sentry.io/42"}\n - {"type":"attachment","length":10,"content_type":"text/plain","filename":"hello.txt"}\n - \xef\xbb\xbfHello\r\n\n - {"type":"event","length":41,"content_type":"application/json","filename":"application.log"}\n - {"message":"hello world","level":"error"} - - -**Envelope with 2 empty attachments:** - -Bash - -Copied - - {"event_id":"9ec79c33ec9942ab8353589fcb2e04dc"}\n - {"type":"attachment","length":0}\n - \n - {"type":"attachment","length":0}\n - \n - - - {"event_id":"9ec79c33ec9942ab8353589fcb2e04dc"}\n - {"type":"attachment","length":0}\n - \n - {"type":"attachment","length":0}\n - \n - - -**Envelope with 2 empty attachments, last newline omitted:** - -Bash - -Copied - - {"event_id":"9ec79c33ec9942ab8353589fcb2e04dc"}\n - {"type":"attachment","length":0}\n - \n - {"type":"attachment","length":0}\n - - - {"event_id":"9ec79c33ec9942ab8353589fcb2e04dc"}\n - {"type":"attachment","length":0}\n - \n - {"type":"attachment","length":0}\n - - -**Item with implicit length, terminated by newline:** - -Bash - -Copied - - {"event_id":"9ec79c33ec9942ab8353589fcb2e04dc"}\n - {"type":"attachment"}\n - helloworld\n - - - {"event_id":"9ec79c33ec9942ab8353589fcb2e04dc"}\n - {"type":"attachment"}\n - helloworld\n - - -**Item with implicit length, last newline omitted, terminated by EOF:** - -Bash - -Copied - - {"event_id":"9ec79c33ec9942ab8353589fcb2e04dc"}\n - {"type":"attachment"}\n - helloworld - - - {"event_id":"9ec79c33ec9942ab8353589fcb2e04dc"}\n - {"type":"attachment"}\n - helloworld - - -**Envelope without headers, implicit length, last newline omitted, terminated by EOF:** - -Bash - -Copied - - {}\n - {"type":"session"}\n - {"started": "2020-02-07T14:16:00Z","attrs":{"release":"sentry-test@1.0.0"}} - - - {}\n - {"type":"session"}\n - {"started": "2020-02-07T14:16:00Z","attrs":{"release":"sentry-test@1.0.0"}} - - -[Data Model](https://develop.sentry.dev/sdk/data-model/envelopes/#data-model) - ------------------------------------------------------------------------------- - -This section has been moved to [Envelope Items](https://develop.sentry.dev/sdk/foundations/envelopes/envelope-items/) -. - -[Ingestion](https://develop.sentry.dev/sdk/data-model/envelopes/#ingestion) - ----------------------------------------------------------------------------- - -This section describes how to ingest Envelopes into Relay or Sentry. The main ingestion endpoint for Envelopes is: - -Bash - -Copied - - POST /api//envelope/ - - - POST /api//envelope/ - - -### [HTTP Headers](https://develop.sentry.dev/sdk/data-model/envelopes/#http-headers) - -Envelope requests may contain all headers as regular store requests. The only accepted `content-type` is `application/x-sentry-envelope`, which is implied if it is missing. To minimize the necessity for `CORS` preflights it's acceptable to send `text/plain`, `multipart/form-data` and `application/x-www-form-urlencoded` as well. In either of those cases the behavior however is the same as using `application/x-sentry-envelope`. - -### [Authentication](https://develop.sentry.dev/sdk/data-model/envelopes/#authentication) - -In addition to regular HTTP header- and querystring authentication, the Envelope endpoint allows to authenticate via an Envelope header. To choose this authentication method, set the `"dsn"` Envelope header to the full DSN string. - -If multiple forms of authentication are given, the endpoint validates that the information matches and otherwise rejects the request. If both are missing, the Envelope is rejected with status code `403 Forbidden`. - -##### Backward Compatibility - -Envelope header authentication requires **Relay v21.6.0**. Earlier versions of Relay do not support Envelope header authentication and respond with HTTP error _401 Unauthorized ("missing authorization information")_ to envelope uploads. - -SDKs should not rely on Envelope header authentication to retain backward compatibility with older versions of Sentry on-premise unless absolutely required. Instead, stick to HTTP headers or query parameters wherever possible. - -### [Size Limits](https://develop.sentry.dev/sdk/data-model/envelopes/#size-limits) - -Event ingestion imposes limits on the size and number of Items in Envelopes. These limits are subject to future change and defined currently as (see [Relay config source](https://github.com/getsentry/relay/blob/master/relay-config/src/config.rs) -): - -* _200 MiB_ for an envelope after decompression including all envelope items. -* _1 MiB_ for event (errors and transactions), span, log, and metric (statsd, buckets, meta) envelope items. -* _2 KiB_ for each metric within an envelope. Relay discards the entire envelope if the one of the metrics exceeds 2 KiB. -* _100 KiB_ for monitor check-in items -* _4 KiB_ for client report items -* _50 MiB_ for profile items -* _10 MiB_ for compressed replay items -* _100 MiB_ for replay items after decompression -* _100 sessions_ per envelope -* _100 pre-aggregated session buckets_ per each `"sessions"` item - -[External References](https://develop.sentry.dev/sdk/data-model/envelopes/#external-references) - ------------------------------------------------------------------------------------------------- - -* [Multi Part Form Data](https://tools.ietf.org/html/rfc7578) - -* [Chunked Transfer Encoding](https://en.wikipedia.org/wiki/Chunked_transfer_encoding) - - -[Previous\ -\ -Transport](https://develop.sentry.dev/sdk/foundations/transport/) - -[Next\ -\ -Envelope Items](https://develop.sentry.dev/sdk/foundations/envelopes/envelope-items/) - -Was this helpful? - -Yes 👍No 👎 - -How can we improve this page? - -Email (optional) - -Submit feedback - -**Help improve this content** -Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better"). - -[How to contribute](https://docs.sentry.io/contributing/) -   |  [Edit this page](https://github.com/getsentry/sentry-docs/edit/master/develop-docs/sdk/foundations/envelopes/index.mdx) -   |  [Create a docs issue](https://github.com/getsentry/sentry-docs/issues/new/choose) -   |  [Get support](https://www.sentry.help/en/) \ No newline at end of file diff --git a/.firecrawl/develop.sentry.dev-sdk-expected-features.md b/.firecrawl/develop.sentry.dev-sdk-expected-features.md deleted file mode 100644 index ca47b77c8..000000000 --- a/.firecrawl/develop.sentry.dev-sdk-expected-features.md +++ /dev/null @@ -1,105 +0,0 @@ -[Skip to content](https://develop.sentry.dev/sdk/expected-features/#main) - -[![Sentry's logo](https://develop.sentry.dev/_next/static/media/sentry-logo-dark.fc8e1eeb.svg)\ -\ -Docs](https://develop.sentry.dev/ "Sentry error monitoring") - -[Changelog](https://sentry.io/changelog/) -[Sandbox](https://sandbox.sentry.io/) -[Go to Sentry](https://sentry.io/) -[Get Started](https://sentry.io/signup/) - -Menu - -* [Getting Started](https://develop.sentry.dev/getting-started/) - -* [Engineering Practices](https://develop.sentry.dev/engineering-practices/) - -* [Application Architecture](https://develop.sentry.dev/application-architecture/) - -* [Development Infrastructure](https://develop.sentry.dev/development-infrastructure/) - -* [Backend](https://develop.sentry.dev/backend/) - -* [Frontend](https://develop.sentry.dev/frontend/) - -* [Services](https://develop.sentry.dev/services/) - -* [Integrations](https://develop.sentry.dev/integrations/) - -* [Ingestion](https://develop.sentry.dev/ingestion/) - -* [SDKs](https://develop.sentry.dev/sdk/) - * [Getting Started](https://develop.sentry.dev/sdk/getting-started/) - - * [Foundations](https://develop.sentry.dev/sdk/foundations/) - - * [Telemetry](https://develop.sentry.dev/sdk/telemetry/) - - * [Platform Specifics](https://develop.sentry.dev/sdk/platform-specifics/) - -* [SDK Setup Wizards](https://develop.sentry.dev/sdk-setup-wizards/) - -* [Self-Hosted Sentry](https://develop.sentry.dev/self-hosted/) - - -* * * - -[Code of Conduct](https://open.sentry.io/code-of-conduct/) -[User Documentation](https://docs.sentry.io/) - -* [Home](https://develop.sentry.dev/) - -* [SDK Development](https://develop.sentry.dev/sdk/) - - -Copy page - -SDK Development -=============== - -Sentry SDKs are the client libraries that run inside users' applications, capturing errors and other event data before sending it to Sentry for processing. ------------------------------------------------------------------------------------------------------------------------------------------------------------ - -* #### [Getting Started](https://develop.sentry.dev/sdk/getting-started/) - - The following content provides guidance for SDK development at Sentry, helping both internal and external developers understand the motivations behind our design decisions. - -* #### [Foundations](https://develop.sentry.dev/sdk/foundations/) - - Core concepts and infrastructure that every SDK builds on - transport protocol, data model, contexts, scopes, and attributes. - -* #### [Telemetry](https://develop.sentry.dev/sdk/telemetry/) - - Learn about the different telemetry data, that our SDKs can collect. - -* #### [Platform Specifics](https://develop.sentry.dev/sdk/platform-specifics/) - - Read more about the specifics when it comes to certain SDKs. - - -[Previous\ -\ -Ingestion](https://develop.sentry.dev/ingestion/) - -[Next\ -\ -Getting Started](https://develop.sentry.dev/sdk/getting-started/) - -Was this helpful? - -Yes 👍No 👎 - -How can we improve this page? - -Email (optional) - -Submit feedback - -**Help improve this content** -Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better"). - -[How to contribute](https://docs.sentry.io/contributing/) -   |  [Edit this page](https://github.com/getsentry/sentry-docs/edit/master/develop-docs/sdk/index.mdx) -   |  [Create a docs issue](https://github.com/getsentry/sentry-docs/issues/new/choose) -   |  [Get support](https://www.sentry.help/en/) \ No newline at end of file diff --git a/.firecrawl/github.com-open-telemetry-opentelemetry-android.md b/.firecrawl/github.com-open-telemetry-opentelemetry-android.md deleted file mode 100644 index efa108acf..000000000 --- a/.firecrawl/github.com-open-telemetry-opentelemetry-android.md +++ /dev/null @@ -1,684 +0,0 @@ -[Skip to content](https://github.com/open-telemetry/opentelemetry-android#start-of-content) - - -Navigation Menu ---------------- - -[](https://github.com/) - -[Sign in](https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopen-telemetry%2Fopentelemetry-android) - -Appearance settings - -* Platform - - * AI CODE CREATION - - * [GitHub CopilotWrite better code with AI](https://github.com/features/copilot) - - * [GitHub Copilot appDirect agents from issue to merge](https://github.com/features/ai/github-app) - - * [MCP RegistryIntegrate external tools](https://github.com/mcp) - - - * DEVELOPER WORKFLOWS - - * [ActionsAutomate any workflow](https://github.com/features/actions) - - * [CodespacesInstant dev environments](https://github.com/features/codespaces) - - * [IssuesPlan and track work](https://github.com/features/issues) - - * [Code ReviewManage code changes](https://github.com/features/code-review) - - * [Code QualityEnforce quality at merge](https://github.com/features/code-quality) - - - * APPLICATION SECURITY - - * [GitHub Advanced SecurityFind and fix vulnerabilities](https://github.com/security/advanced-security) - - * [Code securitySecure your code as you build](https://github.com/security/advanced-security/code-security) - - * [Secret protectionStop leaks before they start](https://github.com/security/advanced-security/secret-protection) - - - * EXPLORE - - * [Why GitHub](https://github.com/why-github) - - * [Documentation](https://docs.github.com/) - - * [Blog](https://github.blog/) - - * [Changelog](https://github.blog/changelog) - - * [Marketplace](https://github.com/marketplace) - - - - [View all features](https://github.com/features) - -* Solutions - - * BY COMPANY SIZE - - * [Enterprises](https://github.com/enterprise) - - * [Small and medium teams](https://github.com/team) - - * [Startups](https://github.com/enterprise/startups) - - * [Nonprofits](https://github.com/solutions/industry/nonprofits) - - - * BY USE CASE - - * [App Modernization](https://github.com/solutions/use-case/app-modernization) - - * [DevSecOps](https://github.com/solutions/use-case/devsecops) - - * [DevOps](https://github.com/solutions/use-case/devops) - - * [CI/CD](https://github.com/solutions/use-case/ci-cd) - - * [View all use cases](https://github.com/solutions/use-case) - - - * BY INDUSTRY - - * [Healthcare](https://github.com/solutions/industry/healthcare) - - * [Financial services](https://github.com/solutions/industry/financial-services) - - * [Manufacturing](https://github.com/solutions/industry/manufacturing) - - * [Government](https://github.com/solutions/industry/government) - - * [View all industries](https://github.com/solutions/industry) - - - - [View all solutions](https://github.com/solutions) - -* Resources - - * EXPLORE BY TOPIC - - * [AI](https://github.com/resources/articles?topic=ai) - - * [Software Development](https://github.com/resources/articles?topic=software-development) - - * [DevOps](https://github.com/resources/articles?topic=devops) - - * [Security](https://github.com/resources/articles?topic=security) - - * [View all topics](https://github.com/resources/articles) - - - * EXPLORE BY TYPE - - * [Customer stories](https://github.com/customer-stories) - - * [Events & webinars](https://github.com/resources/events) - - * [Ebooks & reports](https://github.com/resources/whitepapers) - - * [Business insights](https://github.com/solutions/executive-insights) - - * [GitHub Skills](https://skills.github.com/) - - - * SUPPORT & SERVICES - - * [Documentation](https://docs.github.com/) - - * [Customer support](https://support.github.com/) - - * [Community forum](https://github.com/orgs/community/discussions) - - * [Trust center](https://github.com/trust-center) - - * [Partners](https://github.com/partners) - - - - [View all resources](https://github.com/resources) - -* Open Source - - * COMMUNITY - - * [GitHub SponsorsFund open source developers](https://github.com/open-source/sponsors) - - - * PROGRAMS - - * [Security Lab](https://securitylab.github.com/) - - * [Maintainer Community](https://maintainers.github.com/) - - * [GitHub Stars](https://stars.github.com/) - - * [Archive Program](https://archiveprogram.github.com/) - - - * REPOSITORIES - - * [Topics](https://github.com/topics) - - * [Trending](https://github.com/trending) - - * [Collections](https://github.com/collections) - - - -* Enterprise - - * ENTERPRISE SOLUTIONS - - * [Enterprise platformAI-powered developer platform](https://github.com/enterprise) - - - * AVAILABLE ADD-ONS - - * [GitHub Advanced SecurityEnterprise-grade security features](https://github.com/security/advanced-security) - - * [Copilot for BusinessEnterprise-grade AI features](https://github.com/features/copilot/copilot-business) - - * [Premium SupportEnterprise-grade 24/7 support](https://github.com/enterprise/premium-support) - - - -* [Pricing](https://github.com/pricing) - - -Search/ - -[Sign in](https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopen-telemetry%2Fopentelemetry-android) - -[Sign up](https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=open-telemetry%2Fopentelemetry-android) - -Appearance settings - -You signed in with another tab or window. [Reload](https://github.com/open-telemetry/opentelemetry-android) - to refresh your session. You signed out in another tab or window. [Reload](https://github.com/open-telemetry/opentelemetry-android) - to refresh your session. You switched accounts on another tab or window. [Reload](https://github.com/open-telemetry/opentelemetry-android) - to refresh your session. Dismiss alert - -### Uh oh! - -There was an error while loading. [Please reload this page](https://github.com/open-telemetry/opentelemetry-android) -. - -[open-telemetry](https://github.com/open-telemetry) / **[opentelemetry-android](https://github.com/open-telemetry/opentelemetry-android)** Public - -* [Notifications](https://github.com/login?return_to=%2Fopen-telemetry%2Fopentelemetry-android) - You must be signed in to change notification settings -* [Fork 113](https://github.com/login?return_to=%2Fopen-telemetry%2Fopentelemetry-android) - -* [Star 296](https://github.com/login?return_to=%2Fopen-telemetry%2Fopentelemetry-android) - - -* [Code](https://github.com/open-telemetry/opentelemetry-android) - -* [Issues 92](https://github.com/open-telemetry/opentelemetry-android/issues) - -* [Pull requests 17](https://github.com/open-telemetry/opentelemetry-android/pulls) - -* [Actions](https://github.com/open-telemetry/opentelemetry-android/actions) - -* [Projects](https://github.com/open-telemetry/opentelemetry-android/projects) - -* [Security and quality 0](https://github.com/open-telemetry/opentelemetry-android/security) - -* [Insights](https://github.com/open-telemetry/opentelemetry-android/pulse) - - -Additional navigation options - -* [Code](https://github.com/open-telemetry/opentelemetry-android) - -* [Issues](https://github.com/open-telemetry/opentelemetry-android/issues) - -* [Pull requests](https://github.com/open-telemetry/opentelemetry-android/pulls) - -* [Actions](https://github.com/open-telemetry/opentelemetry-android/actions) - -* [Projects](https://github.com/open-telemetry/opentelemetry-android/projects) - -* [Security and quality](https://github.com/open-telemetry/opentelemetry-android/security) - -* [Insights](https://github.com/open-telemetry/opentelemetry-android/pulse) - - -[](https://github.com/open-telemetry/opentelemetry-android) - -main - -[Branches](https://github.com/open-telemetry/opentelemetry-android/branches) -[Tags](https://github.com/open-telemetry/opentelemetry-android/tags) - -[](https://github.com/open-telemetry/opentelemetry-android/branches) -[](https://github.com/open-telemetry/opentelemetry-android/tags) - -Go to file - -Code - -Open more actions menu - -Latest commit -------------- - -History -------- - -[2,317 Commits](https://github.com/open-telemetry/opentelemetry-android/commits/main/) - -[](https://github.com/open-telemetry/opentelemetry-android/commits/main/) -2,317 Commits - -Folders and files ------------------ - -| Name | | Name | Last commit message | Last commit date | -| --- | --- | --- | --- | -| [.github](https://github.com/open-telemetry/opentelemetry-android/tree/main/.github ".github") | | [.github](https://github.com/open-telemetry/opentelemetry-android/tree/main/.github ".github") | | | -| [agent-api](https://github.com/open-telemetry/opentelemetry-android/tree/main/agent-api "agent-api") | | [agent-api](https://github.com/open-telemetry/opentelemetry-android/tree/main/agent-api "agent-api") | | | -| [android-agent](https://github.com/open-telemetry/opentelemetry-android/tree/main/android-agent "android-agent") | | [android-agent](https://github.com/open-telemetry/opentelemetry-android/tree/main/android-agent "android-agent") | | | -| [animal-sniffer-signature](https://github.com/open-telemetry/opentelemetry-android/tree/main/animal-sniffer-signature "animal-sniffer-signature") | | [animal-sniffer-signature](https://github.com/open-telemetry/opentelemetry-android/tree/main/animal-sniffer-signature "animal-sniffer-signature") | | | -| [buildSrc](https://github.com/open-telemetry/opentelemetry-android/tree/main/buildSrc "buildSrc") | | [buildSrc](https://github.com/open-telemetry/opentelemetry-android/tree/main/buildSrc "buildSrc") | | | -| [common](https://github.com/open-telemetry/opentelemetry-android/tree/main/common "common") | | [common](https://github.com/open-telemetry/opentelemetry-android/tree/main/common "common") | | | -| [config/detekt](https://github.com/open-telemetry/opentelemetry-android/tree/main/config/detekt "This path skips through empty directories") | | [config/detekt](https://github.com/open-telemetry/opentelemetry-android/tree/main/config/detekt "This path skips through empty directories") | | | -| [core](https://github.com/open-telemetry/opentelemetry-android/tree/main/core "core") | | [core](https://github.com/open-telemetry/opentelemetry-android/tree/main/core "core") | | | -| [demo-app](https://github.com/open-telemetry/opentelemetry-android/tree/main/demo-app "demo-app") | | [demo-app](https://github.com/open-telemetry/opentelemetry-android/tree/main/demo-app "demo-app") | | | -| [docs](https://github.com/open-telemetry/opentelemetry-android/tree/main/docs "docs") | | [docs](https://github.com/open-telemetry/opentelemetry-android/tree/main/docs "docs") | | | -| [gradle](https://github.com/open-telemetry/opentelemetry-android/tree/main/gradle "gradle") | | [gradle](https://github.com/open-telemetry/opentelemetry-android/tree/main/gradle "gradle") | | | -| [instrumentation](https://github.com/open-telemetry/opentelemetry-android/tree/main/instrumentation "instrumentation") | | [instrumentation](https://github.com/open-telemetry/opentelemetry-android/tree/main/instrumentation "instrumentation") | | | -| [opentelemetry-android-bom](https://github.com/open-telemetry/opentelemetry-android/tree/main/opentelemetry-android-bom "opentelemetry-android-bom") | | [opentelemetry-android-bom](https://github.com/open-telemetry/opentelemetry-android/tree/main/opentelemetry-android-bom "opentelemetry-android-bom") | | | -| [semconv](https://github.com/open-telemetry/opentelemetry-android/tree/main/semconv "semconv") | | [semconv](https://github.com/open-telemetry/opentelemetry-android/tree/main/semconv "semconv") | | | -| [services](https://github.com/open-telemetry/opentelemetry-android/tree/main/services "services") | | [services](https://github.com/open-telemetry/opentelemetry-android/tree/main/services "services") | | | -| [session](https://github.com/open-telemetry/opentelemetry-android/tree/main/session "session") | | [session](https://github.com/open-telemetry/opentelemetry-android/tree/main/session "session") | | | -| [smoke-test-app](https://github.com/open-telemetry/opentelemetry-android/tree/main/smoke-test-app "smoke-test-app") | | [smoke-test-app](https://github.com/open-telemetry/opentelemetry-android/tree/main/smoke-test-app "smoke-test-app") | | | -| [smoke-test](https://github.com/open-telemetry/opentelemetry-android/tree/main/smoke-test "smoke-test") | | [smoke-test](https://github.com/open-telemetry/opentelemetry-android/tree/main/smoke-test "smoke-test") | | | -| [test-common](https://github.com/open-telemetry/opentelemetry-android/tree/main/test-common "test-common") | | [test-common](https://github.com/open-telemetry/opentelemetry-android/tree/main/test-common "test-common") | | | -| [.clomonitor.yml](https://github.com/open-telemetry/opentelemetry-android/blob/main/.clomonitor.yml ".clomonitor.yml") | | [.clomonitor.yml](https://github.com/open-telemetry/opentelemetry-android/blob/main/.clomonitor.yml ".clomonitor.yml") | | | -| [.editorconfig](https://github.com/open-telemetry/opentelemetry-android/blob/main/.editorconfig ".editorconfig") | | [.editorconfig](https://github.com/open-telemetry/opentelemetry-android/blob/main/.editorconfig ".editorconfig") | | | -| [.fossa.yml](https://github.com/open-telemetry/opentelemetry-android/blob/main/.fossa.yml ".fossa.yml") | | [.fossa.yml](https://github.com/open-telemetry/opentelemetry-android/blob/main/.fossa.yml ".fossa.yml") | | | -| [.gitignore](https://github.com/open-telemetry/opentelemetry-android/blob/main/.gitignore ".gitignore") | | [.gitignore](https://github.com/open-telemetry/opentelemetry-android/blob/main/.gitignore ".gitignore") | | | -| [.lychee.toml](https://github.com/open-telemetry/opentelemetry-android/blob/main/.lychee.toml ".lychee.toml") | | [.lychee.toml](https://github.com/open-telemetry/opentelemetry-android/blob/main/.lychee.toml ".lychee.toml") | | | -| [AGENTS.md](https://github.com/open-telemetry/opentelemetry-android/blob/main/AGENTS.md "AGENTS.md") | | [AGENTS.md](https://github.com/open-telemetry/opentelemetry-android/blob/main/AGENTS.md "AGENTS.md") | | | -| [CHANGELOG.md](https://github.com/open-telemetry/opentelemetry-android/blob/main/CHANGELOG.md "CHANGELOG.md") | | [CHANGELOG.md](https://github.com/open-telemetry/opentelemetry-android/blob/main/CHANGELOG.md "CHANGELOG.md") | | | -| [CONTRIBUTING.md](https://github.com/open-telemetry/opentelemetry-android/blob/main/CONTRIBUTING.md "CONTRIBUTING.md") | | [CONTRIBUTING.md](https://github.com/open-telemetry/opentelemetry-android/blob/main/CONTRIBUTING.md "CONTRIBUTING.md") | | | -| [LICENSE](https://github.com/open-telemetry/opentelemetry-android/blob/main/LICENSE "LICENSE") | | [LICENSE](https://github.com/open-telemetry/opentelemetry-android/blob/main/LICENSE "LICENSE") | | | -| [README.md](https://github.com/open-telemetry/opentelemetry-android/blob/main/README.md "README.md") | | [README.md](https://github.com/open-telemetry/opentelemetry-android/blob/main/README.md "README.md") | | | -| [RELEASING.md](https://github.com/open-telemetry/opentelemetry-android/blob/main/RELEASING.md "RELEASING.md") | | [RELEASING.md](https://github.com/open-telemetry/opentelemetry-android/blob/main/RELEASING.md "RELEASING.md") | | | -| [VERSIONING.md](https://github.com/open-telemetry/opentelemetry-android/blob/main/VERSIONING.md "VERSIONING.md") | | [VERSIONING.md](https://github.com/open-telemetry/opentelemetry-android/blob/main/VERSIONING.md "VERSIONING.md") | | | -| [build.gradle.kts](https://github.com/open-telemetry/opentelemetry-android/blob/main/build.gradle.kts "build.gradle.kts") | | [build.gradle.kts](https://github.com/open-telemetry/opentelemetry-android/blob/main/build.gradle.kts "build.gradle.kts") | | | -| [code-of-conduct.md](https://github.com/open-telemetry/opentelemetry-android/blob/main/code-of-conduct.md "code-of-conduct.md") | | [code-of-conduct.md](https://github.com/open-telemetry/opentelemetry-android/blob/main/code-of-conduct.md "code-of-conduct.md") | | | -| [codecov.yml](https://github.com/open-telemetry/opentelemetry-android/blob/main/codecov.yml "codecov.yml") | | [codecov.yml](https://github.com/open-telemetry/opentelemetry-android/blob/main/codecov.yml "codecov.yml") | | | -| [gradle.properties](https://github.com/open-telemetry/opentelemetry-android/blob/main/gradle.properties "gradle.properties") | | [gradle.properties](https://github.com/open-telemetry/opentelemetry-android/blob/main/gradle.properties "gradle.properties") | | | -| [gradlew](https://github.com/open-telemetry/opentelemetry-android/blob/main/gradlew "gradlew") | | [gradlew](https://github.com/open-telemetry/opentelemetry-android/blob/main/gradlew "gradlew") | | | -| [gradlew.bat](https://github.com/open-telemetry/opentelemetry-android/blob/main/gradlew.bat "gradlew.bat") | | [gradlew.bat](https://github.com/open-telemetry/opentelemetry-android/blob/main/gradlew.bat "gradlew.bat") | | | -| [reusable-link-check.yml](https://github.com/open-telemetry/opentelemetry-android/blob/main/reusable-link-check.yml "reusable-link-check.yml") | | [reusable-link-check.yml](https://github.com/open-telemetry/opentelemetry-android/blob/main/reusable-link-check.yml "reusable-link-check.yml") | | | -| [settings.gradle.kts](https://github.com/open-telemetry/opentelemetry-android/blob/main/settings.gradle.kts "settings.gradle.kts") | | [settings.gradle.kts](https://github.com/open-telemetry/opentelemetry-android/blob/main/settings.gradle.kts "settings.gradle.kts") | | | -| View all files | | | - -Repository files navigation ---------------------------- - -* [README](https://github.com/open-telemetry/opentelemetry-android#) - -* [Code of conduct](https://github.com/open-telemetry/opentelemetry-android#) - -* [Contributing](https://github.com/open-telemetry/opentelemetry-android#) - -* [Apache-2.0 license](https://github.com/open-telemetry/opentelemetry-android#) - -* [Security](https://github.com/open-telemetry/opentelemetry-android#) - - -More items - -[![OpenTelemetry Icon](https://camo.githubusercontent.com/4dda6bcbcc0cb08fefcea1676ed7698e961bb95b3a9ab728a2a517ccb558172d/68747470733a2f2f6f70656e74656c656d657472792e696f2f696d672f6c6f676f732f6f70656e74656c656d657472792d6c6f676f2d6e61762e706e67)](https://camo.githubusercontent.com/4dda6bcbcc0cb08fefcea1676ed7698e961bb95b3a9ab728a2a517ccb558172d/68747470733a2f2f6f70656e74656c656d657472792e696f2f696d672f6c6f676f732f6f70656e74656c656d657472792d6c6f676f2d6e61762e706e67) - OpenTelemetry Android -============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================== - -[](https://github.com/open-telemetry/opentelemetry-android#-opentelemetry-android) - -[![Continuous Build](https://github.com/open-telemetry/opentelemetry-android/actions/workflows/build.yaml/badge.svg)](https://github.com/open-telemetry/opentelemetry-android/actions?query=workflow%3Abuild+branch%3Amain) - [![Maven Central](https://camo.githubusercontent.com/140aa1e8256e40b4fe4938aa5198fb9355ab87590e16f9d33e0f143c5dd4ec25/68747470733a2f2f696d672e736869656c64732e696f2f6d6176656e2d63656e7472616c2f762f696f2e6f70656e74656c656d657472792e616e64726f69642f616e64726f69642d6167656e742e737667)](https://central.sonatype.com/artifact/io.opentelemetry.android/android-agent) - [![OpenSSF Scorecard](https://camo.githubusercontent.com/59732b39a9f11c3789a4b2c4f3ba0d008c6423b963017223efb909269c6f4d1e/68747470733a2f2f6170692e73636f7265636172642e6465762f70726f6a656374732f6769746875622e636f6d2f6f70656e2d74656c656d657472792f6f70656e74656c656d657472792d616e64726f69642f6261646765)](https://scorecard.dev/viewer/?uri=github.com/open-telemetry/opentelemetry-android) - [![android api](https://camo.githubusercontent.com/dcd8315d84a7be5fa90c0ec9d96d272ee3e70940cbce05821d6e0b39f180f7e0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f416e64726f69645f4150492d32332d677265656e2e737667 "Android min API 23")](https://github.com/open-telemetry/opentelemetry-android/blob/main/VERSIONING.md) - -* [About](https://github.com/open-telemetry/opentelemetry-android#about) - -* [Getting Started](https://github.com/open-telemetry/opentelemetry-android#getting-started) - * [Snapshot Builds](https://github.com/open-telemetry/opentelemetry-android#snapshot-builds) - -* [Features](https://github.com/open-telemetry/opentelemetry-android#features) - -* [Contributing](https://github.com/open-telemetry/opentelemetry-android#contributing) - - -About -===== - -[](https://github.com/open-telemetry/opentelemetry-android#about) - -The repository contains the `OpenTelemetry Android Agent`, which initializes the [OpenTelemetry Java SDK](https://github.com/open-telemetry/opentelemetry-java) - and provides auto-instrumentation of Android apps for real user monitoring (RUM). - -While this project isn't 100% Kotlin, it has a "Kotlin-First" policy where usage in Kotlin-based Android apps will be prioritized in terms of API and idioms. More details about this policy can be found [here](https://github.com/open-telemetry/opentelemetry-android/blob/main/docs/KOTLIN_FIRST.md) -. - -Important - -We are currently seeking additional contributors! See [Contributing](https://github.com/open-telemetry/opentelemetry-android#contributing) - for details. - -Getting Started -=============== - -[](https://github.com/open-telemetry/opentelemetry-android#getting-started) - -> If your project's minSdk is lower than 26, then you must enable [corelib desugaring](https://developer.android.com/studio/write/java8-support#library-desugaring) -> . See [#73](https://github.com/open-telemetry/opentelemetry-android/issues/73) -> for more information. Further, you must use AGP 8.3.0+ and set the `android.useFullClasspathForDexingTransform` property in `gradle.properties` to `true` to ensure desugaring runs properly. For the full context for this workaround, please see [this issue](https://issuetracker.google.com/issues/230454566) -> (comment 18). - -Gradle Setup ------------- - -[](https://github.com/open-telemetry/opentelemetry-android#gradle-setup) - -To use the Android Agent in your application, you will first need to add a dependency in your application's `build.gradle.kts`. We publish a bill of materials (BOM) that helps to coordinate versions of the this project's components and the upstream `opentelemetry-java-instrumentation` and `opentelemetry-java` dependencies. We recommend using the BOM as a platform dependency, and then omitting explicit version information from all other opentelemetry dependencies: - -```kotlin -dependencies { - //... - api(platform("io.opentelemetry.android:opentelemetry-android-bom:1.6.0-alpha")) - implementation("io.opentelemetry.android:android-agent") // Version is resolved through the BOM - //... -} -``` - -Snapshot Builds ---------------- - -[](https://github.com/open-telemetry/opentelemetry-android#snapshot-builds) - -A snapshot is published for every commit to the `main` branch. Snapshots are intended for testing upcoming changes and should not be used in production. You can find the available versions in the [Sonatype snapshot repository](https://central.sonatype.com/service/rest/repository/browse/maven-snapshots/io/opentelemetry/android/) -. - -To use a snapshot, add the Sonatype snapshot repository to `settings.gradle.kts`: - -```kotlin -dependencyResolutionManagement { - repositories { - google() - mavenCentral() - maven(url = "https://central.sonatype.com/repository/maven-snapshots/") // Add this line - } -} -``` - -Then use the latest snapshot version with the BOM in your app's `build.gradle.kts`: - -```kotlin -dependencies { - implementation(platform("io.opentelemetry.android:opentelemetry-android-bom:1.7.0-alpha-SNAPSHOT")) - implementation("io.opentelemetry.android:android-agent") -} -``` - -Gradle caches snapshot dependencies; run `./gradlew --refresh-dependencies` to retrieve a newly published snapshot. - -Agent Initialization --------------------- - -[](https://github.com/open-telemetry/opentelemetry-android#agent-initialization) - -To initialize the Agent, call `OpenTelemetryRumInitializer.initialize()` in the `onCreate()` function in your app's `Application` object, ideally as early as possible after calling `super.onCreate()`. - -```kotlin -class MainApplication: Application() { - var otelRum: OpenTelemetryRum? = null - - override fun onCreate() { - super.onCreate() - otelRum = initOTel(this) - } -} - -private fun initOTel(context: Context): OpenTelemetryRum? = - runCatching { - OpenTelemetryRumInitializer.initialize( - context = context, - configuration = { - httpExport { - baseUrl = "http://10.0.2.2:4318" - baseHeaders = mapOf("foo" to "bar") - } - instrumentations { - activity { - enabled(true) - } - fragment { - enabled(false) - } - } - session { - backgroundInactivityTimeout = 5.minutes - maxLifetime = 1.days - } - globalAttributes { - Attributes.of(stringKey("demo-version"), "test") - } - disableMetrics() - } - ) - }.onFailure { - Log.e("OpenTelemetryRumInitializer", "Initialization failed", it) - }.getOrNull() -``` - -This call will return an `OpenTelemetryRum` instance with which you can use the Agent and OTel APIs. - -Features -======== - -[](https://github.com/open-telemetry/opentelemetry-android#features) - -In addition to exposing the OTel Java API for manual instrumentation, agent also offers the following features: - -* Streamlined initialization and configuration of the Java SDK instance -* Installation and management of bundled instrumentation -* Offline buffering of telemetry via disk persistence -* Redact and change span attributes before export - -Instrumentation ---------------- - -[](https://github.com/open-telemetry/opentelemetry-android#instrumentation) - -The following instrumentation modules are bundled with the Android Agent: - -* [Activity lifecycle](https://github.com/open-telemetry/opentelemetry-android/blob/main/instrumentation/activity) - -* [ANR detection](https://github.com/open-telemetry/opentelemetry-android/blob/main/instrumentation/anr) - -* [Crash reporting](https://github.com/open-telemetry/opentelemetry-android/blob/main/instrumentation/crash) - -* [Fragment lifecycle](https://github.com/open-telemetry/opentelemetry-android/blob/main/instrumentation/fragment) - -* [Network change detection](https://github.com/open-telemetry/opentelemetry-android/blob/main/instrumentation/network) - -* [Slow/frozen frame render detection](https://github.com/open-telemetry/opentelemetry-android/blob/main/instrumentation/slowrendering) - -* [Startup](https://github.com/open-telemetry/opentelemetry-android/blob/main/instrumentation/startup) - -* [Sessions](https://github.com/open-telemetry/opentelemetry-android/blob/main/instrumentation/sessions) - -* [Screen orientation](https://github.com/open-telemetry/opentelemetry-android/blob/main/instrumentation/screen-orientation) - -* [View click](https://github.com/open-telemetry/opentelemetry-android/blob/main/instrumentation/view-click) - - -There are also other [additional instrumentation modules](https://github.com/open-telemetry/opentelemetry-android/tree/main/instrumentation) - that application developers can include through a gradle dependency. Instrumentations are detected at runtime via the classpath, and are installed automatically. - -Additional Documentation ------------------------- - -[](https://github.com/open-telemetry/opentelemetry-android#additional-documentation) - -See the following pages for details about the related topics: - -* [Kotlin-First Policy](https://github.com/open-telemetry/opentelemetry-android/blob/main/docs/KOTLIN_FIRST.md) - -* [StrictMode Guidance](https://github.com/open-telemetry/opentelemetry-android/blob/main/docs/STRICTMODE.md) - -* [Exporter Management](https://github.com/open-telemetry/opentelemetry-android/blob/main/docs/EXPORTER_CHAIN.md) - - -Contributing -============ - -[](https://github.com/open-telemetry/opentelemetry-android#contributing) - -We are currently resource constrained and are actively seeking new contributors interested in working towards [approver](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#approver) - / [maintainer](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#maintainer) - roles. In addition to the documentation for approver / maintainer roles and the [contributing](https://github.com/open-telemetry/opentelemetry-android/blob/main/CONTRIBUTING.md) - guide, here are some additional notes on engaging: - -* [Pull request](https://github.com/open-telemetry/opentelemetry-android/pulls) - reviews are equally or more helpful than code contributions. Comments and approvals are valuable with or without a formal project role. They're also a great forcing function to explore a fairly complex codebase. -* Attending the [Android: SDK + Automatic Instrumentation](https://github.com/open-telemetry/community?tab=readme-ov-file#implementation-sigs) - Special Interest Group (SIG) is a great way to get to know community members and learn about project priorities. -* Issues labeled [help wanted](https://github.com/open-telemetry/opentelemetry-android/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22) - are project priorities. Code contributions (or pull request reviews when a PR is linked) for these issues are particularly important. -* Triaging / responding to new issues and discussions is a great way to engage with the project. -* We are available in the [#otel-android](https://cloud-native.slack.com/archives/C05J0T9K27Q) - channel in the [CNCF Slack](https://slack.cncf.io/) - . Please join us there for further discussions. - -### Thanks to all of our contributors! - -[](https://github.com/open-telemetry/opentelemetry-android#thanks-to-all-of-our-contributors) - -[![Repo contributors](https://camo.githubusercontent.com/6a812e17d80cc17e5f7f7cde9b297a427083e3aa5bb7a67d03a9ff8a6b2bad0a/68747470733a2f2f636f6e747269622e726f636b732f696d6167653f7265706f3d6f70656e2d74656c656d657472792f6f70656e74656c656d657472792d616e64726f6964)](https://github.com/open-telemetry/opentelemetry-android/graphs/contributors) - -Maintainers ------------ - -[](https://github.com/open-telemetry/opentelemetry-android#maintainers) - -* [Cesar Munoz](https://github.com/likethesalad) - , Elastic -* [Jamie Lynch](https://github.com/fractalwrench) - , Embrace -* [Jason Plumb](https://github.com/breedx-splk) - , Splunk - -For more information about the maintainer role, see the [community repository](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#maintainer) -. - -Approvers ---------- - -[](https://github.com/open-telemetry/opentelemetry-android#approvers) - -* [DavidGrath](https://github.com/DavidGrath) - -* [Hanson Ho](https://github.com/bidetofevil) - , Embrace -* [Manoel Aranda Neto](https://github.com/marandaneto) - , PostHog - -For more information about the Approver role, see the [community repository](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#approver) -. - -About ------ - -OpenTelemetry Tooling for Android - -### Resources - -[Readme](https://github.com/open-telemetry/opentelemetry-android#readme-ov-file) - -[Apache-2.0 license](https://github.com/open-telemetry/opentelemetry-android#Apache-2.0-1-ov-file) - -### Code of conduct - -[Code of conduct](https://github.com/open-telemetry/opentelemetry-android#coc-ov-file) - -### Contributing - -[Contributing](https://github.com/open-telemetry/opentelemetry-android#contributing-ov-file) - -### Security policy - -[Security policy](https://github.com/open-telemetry/opentelemetry-android#security-ov-file) - -[Activity](https://github.com/open-telemetry/opentelemetry-android/activity) - -[Custom properties](https://github.com/open-telemetry/opentelemetry-android/custom-properties) - -### Stars - -**296** stars - -### Watchers - -**23** watching - -### Forks - -[**113** forks](https://github.com/open-telemetry/opentelemetry-android/forks) - -[Report repository](https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fopen-telemetry%2Fopentelemetry-android&report=open-telemetry+%28user%29) - -Releases --------- - -Packages --------- - -Used by -------- - -Contributors ------------- - -Languages ---------- - -Footer ------- - -[](https://github.com/) -© 2026 GitHub, Inc. - -### Footer navigation - -* [Terms](https://docs.github.com/site-policy/github-terms/github-terms-of-service) - -* [Privacy](https://docs.github.com/site-policy/privacy-policies/github-privacy-statement) - -* [Security](https://github.com/security) - -* [Status](https://www.githubstatus.com/) - -* [Community](https://github.community/) - -* [Docs](https://docs.github.com/) - -* [Contact](https://support.github.com/?tags=dotcom-footer) - -* Manage cookies -* Do not share my personal information - -You can’t perform that action at this time. \ No newline at end of file diff --git a/.firecrawl/opentelemetry.io-docs-specs-semconv-general-session.md b/.firecrawl/opentelemetry.io-docs-specs-semconv-general-session.md deleted file mode 100644 index aa8590081..000000000 --- a/.firecrawl/opentelemetry.io-docs-specs-semconv-general-session.md +++ /dev/null @@ -1,750 +0,0 @@ -For AI agents: a documentation index is available at /llms.txt. This page has a Markdown version at /docs/specs/semconv/general/session/index.md. - -[The OpenTelemetry LogoOpenTelemetry](https://opentelemetry.io/) - -* [Docs](https://opentelemetry.io/docs/) - -* [Ecosystem](https://opentelemetry.io/ecosystem/) - -* [Status](https://opentelemetry.io/status/) - -* [Community](https://opentelemetry.io/community/) - -* [Training](https://opentelemetry.io/training/) - -* [Blog](https://opentelemetry.io/blog/) - -* [English EN](https://opentelemetry.io/docs/specs/semconv/general/session/#) - - * বাংলা - * English - * Español - * Français - * 日本語 - * 한국어 - * Polski - * Português - * Română - * Українська - * 中文 - -* Toggle theme - - * Light - * Dark - * Auto - - -* [Semantic conventions 1.44.0](https://opentelemetry.io/docs/specs/ "OpenTelemetry semantic conventions 1.44.0") - * [ ] [Registry](https://opentelemetry.io/docs/specs/semconv/registry/) - * [ ] [Attributes](https://opentelemetry.io/docs/specs/semconv/registry/attributes/ "Attribute registry") - * [ ] [Android](https://opentelemetry.io/docs/specs/semconv/registry/attributes/android/) - - * [ ] [App](https://opentelemetry.io/docs/specs/semconv/registry/attributes/app/) - - * [ ] [Artifact](https://opentelemetry.io/docs/specs/semconv/registry/attributes/artifact/) - - * [ ] [Aspnetcore](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) - - * [ ] [AWS](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aws/) - - * [ ] [Azure](https://opentelemetry.io/docs/specs/semconv/registry/attributes/azure/) - - * [ ] [Browser](https://opentelemetry.io/docs/specs/semconv/registry/attributes/browser/) - - * [ ] [Cassandra](https://opentelemetry.io/docs/specs/semconv/registry/attributes/cassandra/) - - * [ ] [CI/CD](https://opentelemetry.io/docs/specs/semconv/registry/attributes/cicd/) - - * [ ] [Client](https://opentelemetry.io/docs/specs/semconv/registry/attributes/client/) - - * [ ] [Cloud](https://opentelemetry.io/docs/specs/semconv/registry/attributes/cloud/) - - * [ ] [CloudEvents](https://opentelemetry.io/docs/specs/semconv/registry/attributes/cloudevents/) - - * [ ] [CloudFoundry](https://opentelemetry.io/docs/specs/semconv/registry/attributes/cloudfoundry/) - - * [ ] [Code](https://opentelemetry.io/docs/specs/semconv/registry/attributes/code/) - - * [ ] [Container](https://opentelemetry.io/docs/specs/semconv/registry/attributes/container/) - - * [ ] [CPU](https://opentelemetry.io/docs/specs/semconv/registry/attributes/cpu/) - - * [ ] [CPython](https://opentelemetry.io/docs/specs/semconv/registry/attributes/cpython/) - - * [ ] [DB](https://opentelemetry.io/docs/specs/semconv/registry/attributes/db/) - - * [ ] [Deployment](https://opentelemetry.io/docs/specs/semconv/registry/attributes/deployment/) - - * [ ] [Destination](https://opentelemetry.io/docs/specs/semconv/registry/attributes/destination/) - - * [ ] [Device](https://opentelemetry.io/docs/specs/semconv/registry/attributes/device/) - - * [ ] [Disk](https://opentelemetry.io/docs/specs/semconv/registry/attributes/disk/) - - * [ ] [DNS](https://opentelemetry.io/docs/specs/semconv/registry/attributes/dns/) - - * [ ] [Dotnet](https://opentelemetry.io/docs/specs/semconv/registry/attributes/dotnet/) - - * [ ] [Elasticsearch](https://opentelemetry.io/docs/specs/semconv/registry/attributes/elasticsearch/) - - * [ ] [Enduser](https://opentelemetry.io/docs/specs/semconv/registry/attributes/enduser/) - - * [ ] [Error](https://opentelemetry.io/docs/specs/semconv/registry/attributes/error/) - - * [ ] [Event](https://opentelemetry.io/docs/specs/semconv/registry/attributes/event/) - - * [ ] [Exception](https://opentelemetry.io/docs/specs/semconv/registry/attributes/exception/) - - * [ ] [Faas](https://opentelemetry.io/docs/specs/semconv/registry/attributes/faas/) - - * [ ] [Feature flag](https://opentelemetry.io/docs/specs/semconv/registry/attributes/feature-flag/) - - * [ ] [File](https://opentelemetry.io/docs/specs/semconv/registry/attributes/file/) - - * [ ] [GCP](https://opentelemetry.io/docs/specs/semconv/registry/attributes/gcp/) - - * [ ] [Gen AI](https://opentelemetry.io/docs/specs/semconv/registry/attributes/gen-ai/) - - * [ ] [Geo](https://opentelemetry.io/docs/specs/semconv/registry/attributes/geo/) - - * [ ] [Go](https://opentelemetry.io/docs/specs/semconv/registry/attributes/go/) - - * [ ] [GraphQL](https://opentelemetry.io/docs/specs/semconv/registry/attributes/graphql/) - - * [ ] [Hardware](https://opentelemetry.io/docs/specs/semconv/registry/attributes/hardware/) - - * [ ] [Heroku](https://opentelemetry.io/docs/specs/semconv/registry/attributes/heroku/) - - * [ ] [Host](https://opentelemetry.io/docs/specs/semconv/registry/attributes/host/) - - * [ ] [HTTP](https://opentelemetry.io/docs/specs/semconv/registry/attributes/http/) - - * [ ] [iOS](https://opentelemetry.io/docs/specs/semconv/registry/attributes/ios/) - - * [ ] [JSONRPC](https://opentelemetry.io/docs/specs/semconv/registry/attributes/jsonrpc/) - - * [ ] [JVM](https://opentelemetry.io/docs/specs/semconv/registry/attributes/jvm/) - - * [ ] [K8s](https://opentelemetry.io/docs/specs/semconv/registry/attributes/k8s/) - - * [ ] [Linux](https://opentelemetry.io/docs/specs/semconv/registry/attributes/linux/) - - * [ ] [Log](https://opentelemetry.io/docs/specs/semconv/registry/attributes/log/) - - * [ ] [Mainframe](https://opentelemetry.io/docs/specs/semconv/registry/attributes/mainframe/) - - * [ ] [MCP](https://opentelemetry.io/docs/specs/semconv/registry/attributes/mcp/) - - * [ ] [Messaging](https://opentelemetry.io/docs/specs/semconv/registry/attributes/messaging/) - - * [ ] [Network](https://opentelemetry.io/docs/specs/semconv/registry/attributes/network/) - - * [ ] [NFS](https://opentelemetry.io/docs/specs/semconv/registry/attributes/nfs/) - - * [ ] [NodeJS](https://opentelemetry.io/docs/specs/semconv/registry/attributes/nodejs/) - - * [ ] [OCI](https://opentelemetry.io/docs/specs/semconv/registry/attributes/oci/) - - * [ ] [ONC RPC](https://opentelemetry.io/docs/specs/semconv/registry/attributes/onc-rpc/) - - * [ ] [OpenAI](https://opentelemetry.io/docs/specs/semconv/registry/attributes/openai/) - - * [ ] [Openshift](https://opentelemetry.io/docs/specs/semconv/registry/attributes/openshift/) - - * [ ] [OpenTracing](https://opentelemetry.io/docs/specs/semconv/registry/attributes/opentracing/) - - * [ ] [Oracle cloud](https://opentelemetry.io/docs/specs/semconv/registry/attributes/oracle-cloud/) - - * [ ] [OracleDB](https://opentelemetry.io/docs/specs/semconv/registry/attributes/oracledb/) - - * [ ] [OS](https://opentelemetry.io/docs/specs/semconv/registry/attributes/os/) - - * [ ] [OTel](https://opentelemetry.io/docs/specs/semconv/registry/attributes/otel/) - - * [ ] [Peer](https://opentelemetry.io/docs/specs/semconv/registry/attributes/peer/) - - * [ ] [Pprof](https://opentelemetry.io/docs/specs/semconv/registry/attributes/pprof/) - - * [ ] [Process](https://opentelemetry.io/docs/specs/semconv/registry/attributes/process/) - - * [ ] [Profile](https://opentelemetry.io/docs/specs/semconv/registry/attributes/profile/) - - * [ ] [RPC](https://opentelemetry.io/docs/specs/semconv/registry/attributes/rpc/) - - * [ ] [Security rule](https://opentelemetry.io/docs/specs/semconv/registry/attributes/security-rule/) - - * [ ] [Server](https://opentelemetry.io/docs/specs/semconv/registry/attributes/server/) - - * [ ] [Service](https://opentelemetry.io/docs/specs/semconv/registry/attributes/service/) - - * [ ] [Session](https://opentelemetry.io/docs/specs/semconv/registry/attributes/session/) - - * [ ] [SignalR](https://opentelemetry.io/docs/specs/semconv/registry/attributes/signalr/) - - * [ ] [Source](https://opentelemetry.io/docs/specs/semconv/registry/attributes/source/) - - * [ ] [System](https://opentelemetry.io/docs/specs/semconv/registry/attributes/system/) - - * [ ] [Telemetry](https://opentelemetry.io/docs/specs/semconv/registry/attributes/telemetry/) - - * [ ] [Test](https://opentelemetry.io/docs/specs/semconv/registry/attributes/test/) - - * [ ] [Thread](https://opentelemetry.io/docs/specs/semconv/registry/attributes/thread/) - - * [ ] [TLS](https://opentelemetry.io/docs/specs/semconv/registry/attributes/tls/) - - * [ ] [URL](https://opentelemetry.io/docs/specs/semconv/registry/attributes/url/) - - * [ ] [User](https://opentelemetry.io/docs/specs/semconv/registry/attributes/user/) - - * [ ] [User agent](https://opentelemetry.io/docs/specs/semconv/registry/attributes/user-agent/) - - * [ ] [V8js](https://opentelemetry.io/docs/specs/semconv/registry/attributes/v8js/) - - * [ ] [VCS](https://opentelemetry.io/docs/specs/semconv/registry/attributes/vcs/) - - * [ ] [Webengine](https://opentelemetry.io/docs/specs/semconv/registry/attributes/webengine/) - - * [ ] [zOS](https://opentelemetry.io/docs/specs/semconv/registry/attributes/zos/) - - * [ ] [Entities](https://opentelemetry.io/docs/specs/semconv/registry/entities/ "Entity registry") - * [ ] [Android](https://opentelemetry.io/docs/specs/semconv/registry/entities/android/) - - * [ ] [App](https://opentelemetry.io/docs/specs/semconv/registry/entities/app/) - - * [ ] [AWS](https://opentelemetry.io/docs/specs/semconv/registry/entities/aws/) - - * [ ] [Browser](https://opentelemetry.io/docs/specs/semconv/registry/entities/browser/) - - * [ ] [CI/CD](https://opentelemetry.io/docs/specs/semconv/registry/entities/cicd/) - - * [ ] [Cloud](https://opentelemetry.io/docs/specs/semconv/registry/entities/cloud/) - - * [ ] [CloudFoundry](https://opentelemetry.io/docs/specs/semconv/registry/entities/cloudfoundry/) - - * [ ] [Container](https://opentelemetry.io/docs/specs/semconv/registry/entities/container/) - - * [ ] [Deployment](https://opentelemetry.io/docs/specs/semconv/registry/entities/deployment/) - - * [ ] [Device](https://opentelemetry.io/docs/specs/semconv/registry/entities/device/) - - * [ ] [Faas](https://opentelemetry.io/docs/specs/semconv/registry/entities/faas/) - - * [ ] [GCP](https://opentelemetry.io/docs/specs/semconv/registry/entities/gcp/) - - * [ ] [Heroku](https://opentelemetry.io/docs/specs/semconv/registry/entities/heroku/) - - * [ ] [Host](https://opentelemetry.io/docs/specs/semconv/registry/entities/host/) - - * [ ] [K8s](https://opentelemetry.io/docs/specs/semconv/registry/entities/k8s/) - - * [ ] [Openshift](https://opentelemetry.io/docs/specs/semconv/registry/entities/openshift/) - - * [ ] [OS](https://opentelemetry.io/docs/specs/semconv/registry/entities/os/) - - * [ ] [OTel](https://opentelemetry.io/docs/specs/semconv/registry/entities/otel/) - - * [ ] [Process](https://opentelemetry.io/docs/specs/semconv/registry/entities/process/) - - * [ ] [Service](https://opentelemetry.io/docs/specs/semconv/registry/entities/service/) - - * [ ] [Telemetry](https://opentelemetry.io/docs/specs/semconv/registry/entities/telemetry/) - - * [ ] [VCS](https://opentelemetry.io/docs/specs/semconv/registry/entities/vcs/) - - * [ ] [Webengine](https://opentelemetry.io/docs/specs/semconv/registry/entities/webengine/) - - * [ ] [zOS](https://opentelemetry.io/docs/specs/semconv/registry/entities/zos/) - - * [x] [General](https://opentelemetry.io/docs/specs/semconv/general/ "General semantic conventions") - * [ ] [Attribute requirement levels](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) - - * [ ] [Attributes](https://opentelemetry.io/docs/specs/semconv/general/attributes/ "General attributes") - - * [ ] [Events](https://opentelemetry.io/docs/specs/semconv/general/events/ "Semantic conventions for events") - - * [ ] [Logs](https://opentelemetry.io/docs/specs/semconv/general/logs/ "General logs attributes") - - * [ ] [Metric requirement levels](https://opentelemetry.io/docs/specs/semconv/general/metric-requirement-level/) - - * [ ] [Metrics](https://opentelemetry.io/docs/specs/semconv/general/metrics/ "Metrics semantic conventions") - - * [ ] [Naming](https://opentelemetry.io/docs/specs/semconv/general/naming/) - - * [ ] [Profiles](https://opentelemetry.io/docs/specs/semconv/general/profiles/ "Profiles attributes") - - * [ ] [Recording errors](https://opentelemetry.io/docs/specs/semconv/general/recording-errors/) - - * [ ] [Requirement levels on signals and entities](https://opentelemetry.io/docs/specs/semconv/general/signal-requirement-level/) - - * [ ] [Semantic convention groups](https://opentelemetry.io/docs/specs/semconv/general/semantic-convention-groups/) - - * [x] [Session](https://opentelemetry.io/docs/specs/semconv/general/session/ "Semantic conventions for session") - - * [ ] [Trace](https://opentelemetry.io/docs/specs/semconv/general/trace/ "Trace semantic conventions") - - * [ ] [Tracing compatibility](https://opentelemetry.io/docs/specs/semconv/general/trace-compatibility/ "Semantic conventions for tracing compatibility components") - - * [ ] [.NET](https://opentelemetry.io/docs/specs/semconv/dotnet/ "Semantic conventions for .NET") - * [ ] [ASP.NET Core](https://opentelemetry.io/docs/specs/semconv/dotnet/dotnet-aspnetcore-metrics/ "Semantic conventions for ASP.NET Core metrics") - - * [ ] [DNS](https://opentelemetry.io/docs/specs/semconv/dotnet/dotnet-dns-metrics/ "Semantic conventions for DNS metrics emitted by .NET") - - * [ ] [HTTP](https://opentelemetry.io/docs/specs/semconv/dotnet/dotnet-http-metrics/ "Semantic conventions for HTTP client and server metrics emitted by .NET") - - * [ ] [HTTP request and connection spans](https://opentelemetry.io/docs/specs/semconv/dotnet/dotnet-network-traces/ "Semantic Conventions for network spans emitted by .NET") - - * [ ] [Kestrel](https://opentelemetry.io/docs/specs/semconv/dotnet/dotnet-kestrel-metrics/ "Semantic conventions for Kestrel web server metrics") - - * [ ] [SignalR](https://opentelemetry.io/docs/specs/semconv/dotnet/dotnet-signalr-metrics/ "Semantic conventions for SignalR server metrics") - - * [ ] [App](https://opentelemetry.io/docs/specs/semconv/app/ "Semantic conventions for Apps") - * [ ] [Events](https://opentelemetry.io/docs/specs/semconv/app/app-events/ "App Events") - - * [ ] [Azure](https://opentelemetry.io/docs/specs/semconv/azure/ "Semantic conventions for Azure resource logs") - * [ ] [Events](https://opentelemetry.io/docs/specs/semconv/azure/azure-events/ "Semantic conventions for Azure resource log events") - - * [ ] [Browser](https://opentelemetry.io/docs/specs/semconv/browser/ "Semantic conventions for Browser") - * [ ] [Events](https://opentelemetry.io/docs/specs/semconv/browser/browser-events/ "Semantic conventions for browser events") - - * [ ] [CI/CD](https://opentelemetry.io/docs/specs/semconv/cicd/ "Semantic conventions for CI/CD") - * [ ] [Logs](https://opentelemetry.io/docs/specs/semconv/cicd/cicd-logs/ "Semantic conventions for CI/CD logs") - - * [ ] [Metrics](https://opentelemetry.io/docs/specs/semconv/cicd/cicd-metrics/ "Semantic conventions for CI/CD metrics") - - * [ ] [Spans](https://opentelemetry.io/docs/specs/semconv/cicd/cicd-spans/ "Semantic conventions for CI/CD spans") - - * [ ] [CLI programs](https://opentelemetry.io/docs/specs/semconv/cli/ "Semantic conventions for CLI programs") - * [ ] [Spans](https://opentelemetry.io/docs/specs/semconv/cli/cli-spans/ "Semantic conventions for CLI (command line interface) programs") - - * [ ] [Cloud providers](https://opentelemetry.io/docs/specs/semconv/cloud-providers/ "Semantic conventions for cloud providers") - * [ ] [AWS SDK](https://opentelemetry.io/docs/specs/semconv/cloud-providers/aws-sdk/ "Semantic conventions for AWS SDK client spans") - - * [ ] [CloudEvents](https://opentelemetry.io/docs/specs/semconv/cloudevents/ "Semantic conventions for CloudEvents") - * [ ] [Spans](https://opentelemetry.io/docs/specs/semconv/cloudevents/cloudevents-spans/ "Semantic conventions for CloudEvents spans") - - * [ ] [Configuration](https://opentelemetry.io/docs/specs/semconv/configuration/) - * [ ] [Version selection](https://opentelemetry.io/docs/specs/semconv/configuration/version-selection/ "Semantic convention version selection") - - * [ ] [Database](https://opentelemetry.io/docs/specs/semconv/db/ "Semantic conventions for database calls and systems") - * [ ] [Cassandra](https://opentelemetry.io/docs/specs/semconv/db/cassandra/ "Semantic conventions for Cassandra client operations") - - * [ ] [Cosmos DB](https://opentelemetry.io/docs/specs/semconv/db/cosmosdb/ "Semantic conventions for Microsoft Azure Cosmos DB client operations") - - * [ ] [CouchDB](https://opentelemetry.io/docs/specs/semconv/db/couchdb/ "Semantic conventions for CouchDB client operations") - - * [ ] [DynamoDB](https://opentelemetry.io/docs/specs/semconv/db/dynamodb/ "Semantic conventions for AWS DynamoDB client operations") - - * [ ] [Elasticsearch](https://opentelemetry.io/docs/specs/semconv/db/elasticsearch/ "Semantic conventions for Elasticsearch client operations") - - * [ ] [Exceptions](https://opentelemetry.io/docs/specs/semconv/db/database-exceptions/ "Semantic conventions for database exceptions") - - * [ ] [HBase](https://opentelemetry.io/docs/specs/semconv/db/hbase/ "Semantic conventions for HBase client operations") - - * [ ] [MariaDB](https://opentelemetry.io/docs/specs/semconv/db/mariadb/ "Semantic conventions for MariaDB client operations") - - * [ ] [Metrics](https://opentelemetry.io/docs/specs/semconv/db/database-metrics/ "Semantic conventions for database client metrics") - - * [ ] [MongoDB](https://opentelemetry.io/docs/specs/semconv/db/mongodb/ "Semantic conventions for MongoDB client operations") - - * [ ] [MySQL](https://opentelemetry.io/docs/specs/semconv/db/mysql/ "Semantic conventions for MySQL client operations") - - * [ ] [Oracle Database](https://opentelemetry.io/docs/specs/semconv/db/oracledb/ "Semantic conventions for Oracle Database") - - * [ ] [PostgreSQL](https://opentelemetry.io/docs/specs/semconv/db/postgresql/ "Semantic conventions for PostgreSQL client operations") - - * [ ] [Redis](https://opentelemetry.io/docs/specs/semconv/db/redis/ "Semantic conventions for Redis client operations") - - * [ ] [Spans](https://opentelemetry.io/docs/specs/semconv/db/database-spans/ "Semantic conventions for database client spans") - - * [ ] [SQL](https://opentelemetry.io/docs/specs/semconv/db/sql/ "Semantic conventions for SQL databases client operations") - - * [ ] [SQL Server](https://opentelemetry.io/docs/specs/semconv/db/sql-server/ "Semantic conventions for Microsoft SQL Server client operations") - - * [ ] [DNS](https://opentelemetry.io/docs/specs/semconv/dns/ "Semantic conventions for DNS") - * [ ] [Metrics](https://opentelemetry.io/docs/specs/semconv/dns/dns-metrics/ "Semantic conventions for DNS queries") - - * [ ] [Exceptions](https://opentelemetry.io/docs/specs/semconv/exceptions/ "Semantic conventions for exceptions") - * [ ] [Logs](https://opentelemetry.io/docs/specs/semconv/exceptions/exceptions-logs/ "Semantic conventions for exceptions in logs") - - * [ ] [Spans](https://opentelemetry.io/docs/specs/semconv/exceptions/exceptions-spans/ "Semantic conventions for exceptions on spans") - - * [ ] [FaaS](https://opentelemetry.io/docs/specs/semconv/faas/ "Semantic conventions for Function-as-a-Service") - * [ ] [AWS Lambda](https://opentelemetry.io/docs/specs/semconv/faas/aws-lambda/ "Instrumenting AWS Lambda") - - * [ ] [Exceptions](https://opentelemetry.io/docs/specs/semconv/faas/faas-exceptions/ "Semantic conventions for FaaS exceptions") - - * [ ] [Metrics](https://opentelemetry.io/docs/specs/semconv/faas/faas-metrics/ "Semantic conventions for FaaS metrics") - - * [ ] [Spans](https://opentelemetry.io/docs/specs/semconv/faas/faas-spans/ "Semantic conventions for FaaS spans") - - * [ ] [Feature flags](https://opentelemetry.io/docs/specs/semconv/feature-flags/ "Semantic conventions for feature flags") - * [ ] [Events](https://opentelemetry.io/docs/specs/semconv/feature-flags/feature-flags-events/ "Semantic conventions for feature flags in events") - - * [ ] [Generative AI](https://opentelemetry.io/docs/specs/semconv/gen-ai/ "Moved: Generative AI semantic conventions") - * [ ] [Agent spans](https://opentelemetry.io/docs/specs/semconv/gen-ai/gen-ai-agent-spans/ "Moved: Generative AI semantic conventions") - - * [ ] [Anthropic](https://opentelemetry.io/docs/specs/semconv/gen-ai/anthropic/ "Moved: Generative AI semantic conventions") - - * [ ] [AWS Bedrock](https://opentelemetry.io/docs/specs/semconv/gen-ai/aws-bedrock/ "Moved: Generative AI semantic conventions") - - * [ ] [Azure AI Inference](https://opentelemetry.io/docs/specs/semconv/gen-ai/azure-ai-inference/ "Moved: Generative AI semantic conventions") - - * [ ] [Events](https://opentelemetry.io/docs/specs/semconv/gen-ai/gen-ai-events/ "Moved: Generative AI semantic conventions") - - * [ ] [Exceptions](https://opentelemetry.io/docs/specs/semconv/gen-ai/gen-ai-exceptions/ "Moved: Generative AI semantic conventions") - - * [ ] [Metrics](https://opentelemetry.io/docs/specs/semconv/gen-ai/gen-ai-metrics/ "Moved: Generative AI semantic conventions") - - * [ ] [Model Context Protocol](https://opentelemetry.io/docs/specs/semconv/gen-ai/mcp/ "Moved: Generative AI semantic conventions") - - * [ ] [Moved: Generative AI semantic conventions](https://opentelemetry.io/docs/specs/semconv/gen-ai/non-normative/examples-llm-calls/) - - * [ ] [OpenAI](https://opentelemetry.io/docs/specs/semconv/gen-ai/openai/ "Moved: Generative AI semantic conventions") - - * [ ] [Spans](https://opentelemetry.io/docs/specs/semconv/gen-ai/gen-ai-spans/ "Moved: Generative AI semantic conventions") - - * [ ] [GraphQL](https://opentelemetry.io/docs/specs/semconv/graphql/ "Semantic conventions for GraphQL") - * [ ] [GraphQL server](https://opentelemetry.io/docs/specs/semconv/graphql/graphql-spans/ "Semantic conventions for GraphQL server spans") - - * [ ] [Hardware](https://opentelemetry.io/docs/specs/semconv/hardware/ "Semantic conventions for hardware") - * [ ] [Battery](https://opentelemetry.io/docs/specs/semconv/hardware/battery/ "Semantic conventions for battery metrics") - - * [ ] [CPU](https://opentelemetry.io/docs/specs/semconv/hardware/cpu/ "Semantic conventions for CPU metrics") - - * [ ] [Disk Controller](https://opentelemetry.io/docs/specs/semconv/hardware/disk-controller/ "Semantic conventions for disk controller metrics") - - * [ ] [Enclosure](https://opentelemetry.io/docs/specs/semconv/hardware/enclosure/ "Semantic conventions for enclosure metrics") - - * [ ] [Fan](https://opentelemetry.io/docs/specs/semconv/hardware/fan/ "Semantic conventions for fan metrics") - - * [ ] [GPU](https://opentelemetry.io/docs/specs/semconv/hardware/gpu/ "Semantic conventions for GPU metrics") - - * [ ] [Logical Disk](https://opentelemetry.io/docs/specs/semconv/hardware/logical-disk/ "Semantic conventions for logical disk metrics") - - * [ ] [Memory](https://opentelemetry.io/docs/specs/semconv/hardware/memory/ "Semantic conventions for memory metrics") - - * [ ] [Metrics](https://opentelemetry.io/docs/specs/semconv/hardware/common/ "Semantic conventions for common hardware metrics") - - * [ ] [Network](https://opentelemetry.io/docs/specs/semconv/hardware/network/ "Semantic conventions for network metrics") - - * [ ] [Physical Disk](https://opentelemetry.io/docs/specs/semconv/hardware/physical-disk/ "Semantic conventions for physical disk metrics") - - * [ ] [Physical host](https://opentelemetry.io/docs/specs/semconv/hardware/host/ "Semantic conventions for physical host metrics") - - * [ ] [Power Supply](https://opentelemetry.io/docs/specs/semconv/hardware/power-supply/ "Semantic conventions for power supply metrics") - - * [ ] [Tape Drive](https://opentelemetry.io/docs/specs/semconv/hardware/tape-drive/ "Semantic conventions for tape drive metrics") - - * [ ] [Temperature](https://opentelemetry.io/docs/specs/semconv/hardware/temperature/ "Semantic conventions for temperature metrics") - - * [ ] [Voltage](https://opentelemetry.io/docs/specs/semconv/hardware/voltage/ "Semantic conventions for voltage metrics") - - * [ ] [How to write conventions](https://opentelemetry.io/docs/specs/semconv/how-to-write-conventions/ "How to write semantic conventions") - * [ ] [Resource and Entities](https://opentelemetry.io/docs/specs/semconv/how-to-write-conventions/resource-and-entities/) - - * [ ] [Status Metrics](https://opentelemetry.io/docs/specs/semconv/how-to-write-conventions/status-metrics/ "State Metrics") - - * [ ] [T-shaped Signals](https://opentelemetry.io/docs/specs/semconv/how-to-write-conventions/t-shaped-signals/) - - * [ ] [HTTP](https://opentelemetry.io/docs/specs/semconv/http/ "Semantic conventions for HTTP") - * [ ] [Exceptions](https://opentelemetry.io/docs/specs/semconv/http/http-exceptions/ "Semantic conventions for HTTP exceptions") - - * [ ] [Metrics](https://opentelemetry.io/docs/specs/semconv/http/http-metrics/ "Semantic conventions for HTTP metrics") - - * [ ] [Spans](https://opentelemetry.io/docs/specs/semconv/http/http-spans/ "Semantic conventions for HTTP spans") - - * [ ] [Messaging](https://opentelemetry.io/docs/specs/semconv/messaging/ "Semantic conventions for messaging systems") - * [ ] [AWS SNS](https://opentelemetry.io/docs/specs/semconv/messaging/sns/ "Semantic conventions for AWS SNS") - - * [ ] [AWS SQS](https://opentelemetry.io/docs/specs/semconv/messaging/sqs/ "Semantic conventions for AWS SQS") - - * [ ] [Azure](https://opentelemetry.io/docs/specs/semconv/messaging/azure-messaging/ "Semantic conventions for Azure messaging systems") - - * [ ] [Exceptions](https://opentelemetry.io/docs/specs/semconv/messaging/messaging-exceptions/ "Semantic conventions for messaging exceptions") - - * [ ] [Google Cloud Pub/Sub](https://opentelemetry.io/docs/specs/semconv/messaging/gcp-pubsub/ "Semantic conventions for Google Cloud Pub/Sub") - - * [ ] [Kafka](https://opentelemetry.io/docs/specs/semconv/messaging/kafka/ "Semantic conventions for Kafka") - - * [ ] [Metrics](https://opentelemetry.io/docs/specs/semconv/messaging/messaging-metrics/ "Semantic conventions for messaging client metrics") - - * [ ] [RabbitMQ](https://opentelemetry.io/docs/specs/semconv/messaging/rabbitmq/ "Semantic conventions for RabbitMQ") - - * [ ] [RocketMQ](https://opentelemetry.io/docs/specs/semconv/messaging/rocketmq/ "Semantic conventions for RocketMQ") - - * [ ] [Spans](https://opentelemetry.io/docs/specs/semconv/messaging/messaging-spans/ "Semantic conventions for messaging spans") - - * [ ] [Mobile](https://opentelemetry.io/docs/specs/semconv/mobile/ "Semantic conventions for mobile platform") - * [ ] [Events](https://opentelemetry.io/docs/specs/semconv/mobile/mobile-events/ "Semantic conventions for mobile events") - - * [ ] [NFS](https://opentelemetry.io/docs/specs/semconv/nfs/ "Semantic conventions for NFS") - * [ ] [NFS](https://opentelemetry.io/docs/specs/semconv/nfs/nfs-metrics/ "Semantic conventions for NFS metrics") - - * [ ] [Non-normative](https://opentelemetry.io/docs/specs/semconv/non-normative/ "Non-normative supplementary information") - * [ ] [Code attributes migration](https://opentelemetry.io/docs/specs/semconv/non-normative/code-attrs-migration/ "Code attributes semantic convention stability migration guide") - - * [ ] [Compatibility](https://opentelemetry.io/docs/specs/semconv/non-normative/compatibility/) - * [ ] [AWS](https://opentelemetry.io/docs/specs/semconv/non-normative/compatibility/aws/ "Compatibility considerations for AWS") - - * [ ] [gRPC](https://opentelemetry.io/docs/specs/semconv/non-normative/compatibility/grpc/ "Compatibility between OpenTelemetry and gRPC semantic conventions") - - * [ ] [Database migration](https://opentelemetry.io/docs/specs/semconv/non-normative/db-migration/ "Database semantic convention stability migration guide") - - * [ ] [Generating semantic convention libraries](https://opentelemetry.io/docs/specs/semconv/non-normative/code-generation/) - - * [ ] [HTTP migration](https://opentelemetry.io/docs/specs/semconv/non-normative/http-migration/ "HTTP semantic convention stability migration") - - * [ ] [K8s attributes](https://opentelemetry.io/docs/specs/semconv/non-normative/k8s-attributes/ "Specify resource attributes using Kubernetes annotations") - - * [ ] [K8s migration](https://opentelemetry.io/docs/specs/semconv/non-normative/k8s-migration/ "K8s semantic convention stability migration") - - * [ ] [Naming known exceptions](https://opentelemetry.io/docs/specs/semconv/non-normative/naming-known-exceptions/ "Kubernetes naming exceptions") - - * [ ] [Recommended vs Opt-In CPU Metrics](https://opentelemetry.io/docs/specs/semconv/non-normative/groups/system/cpu-metrics-guidelines/) - - * [ ] [RPC migration](https://opentelemetry.io/docs/specs/semconv/non-normative/rpc-migration/ "RPC semantic convention stability migration guide") - - * [ ] [System semantic conventions: instrumentation design philosophy](https://opentelemetry.io/docs/specs/semconv/non-normative/groups/system/design-philosophy/) - - * [ ] [System use cases](https://opentelemetry.io/docs/specs/semconv/non-normative/groups/system/use-cases/ "System semantic conventions: general use cases") - - * [ ] [Object stores](https://opentelemetry.io/docs/specs/semconv/object-stores/ "Semantic conventions for object stores") - * [ ] [S3](https://opentelemetry.io/docs/specs/semconv/object-stores/s3/ "Semantic conventions for AWS S3 client spans") - - * [ ] [OpenTelemetry SDK](https://opentelemetry.io/docs/specs/semconv/otel/ "Semantic conventions for OpenTelemetry SDK") - * [ ] [SDK Metrics](https://opentelemetry.io/docs/specs/semconv/otel/sdk-metrics/ "Semantic conventions for OpenTelemetry SDK metrics") - - * [ ] [Resource](https://opentelemetry.io/docs/specs/semconv/resource/ "Resource semantic conventions") - * [ ] [Android](https://opentelemetry.io/docs/specs/semconv/resource/android/) - - * [ ] [Browser](https://opentelemetry.io/docs/specs/semconv/resource/browser/) - - * [ ] [CI/CD](https://opentelemetry.io/docs/specs/semconv/resource/cicd/) - - * [ ] [Cloud](https://opentelemetry.io/docs/specs/semconv/resource/cloud/) - - * [ ] [Cloud provider](https://opentelemetry.io/docs/specs/semconv/resource/cloud-provider/) - * [ ] [AWS](https://opentelemetry.io/docs/specs/semconv/resource/cloud-provider/aws/ "AWS semantic conventions") - * [ ] [ECS](https://opentelemetry.io/docs/specs/semconv/resource/cloud-provider/aws/ecs/ "AWS ECS") - - * [ ] [EKS](https://opentelemetry.io/docs/specs/semconv/resource/cloud-provider/aws/eks/ "AWS EKS") - - * [ ] [Logs](https://opentelemetry.io/docs/specs/semconv/resource/cloud-provider/aws/logs/ "AWS logs") - - * [ ] [GCP](https://opentelemetry.io/docs/specs/semconv/resource/cloud-provider/gcp/ "GCP semantic conventions") - * [ ] [Google Cloud AppHub](https://opentelemetry.io/docs/specs/semconv/resource/cloud-provider/gcp/apphub/) - - * [ ] [Google Cloud Run](https://opentelemetry.io/docs/specs/semconv/resource/cloud-provider/gcp/cloud-run/) - - * [ ] [Google Compute Engine](https://opentelemetry.io/docs/specs/semconv/resource/cloud-provider/gcp/gce/) - - * [ ] [Heroku](https://opentelemetry.io/docs/specs/semconv/resource/cloud-provider/heroku/) - - * [ ] [CloudFoundry](https://opentelemetry.io/docs/specs/semconv/resource/cloudfoundry/) - - * [ ] [Container](https://opentelemetry.io/docs/specs/semconv/resource/container/) - - * [ ] [Deployment](https://opentelemetry.io/docs/specs/semconv/resource/deployment-environment/) - - * [ ] [Device](https://opentelemetry.io/docs/specs/semconv/resource/device/) - - * [ ] [FaaS](https://opentelemetry.io/docs/specs/semconv/resource/faas/ "Function as a Service") - - * [ ] [Host](https://opentelemetry.io/docs/specs/semconv/resource/host/) - - * [ ] [Kubernetes](https://opentelemetry.io/docs/specs/semconv/resource/k8s/) - * [ ] [Openshift](https://opentelemetry.io/docs/specs/semconv/resource/k8s/openshift/) - - * [ ] [Operating system](https://opentelemetry.io/docs/specs/semconv/resource/os/) - - * [ ] [Process](https://opentelemetry.io/docs/specs/semconv/resource/process/ "Process and process runtime resources") - - * [ ] [Service](https://opentelemetry.io/docs/specs/semconv/resource/service/ "Service semantic conventions") - - * [ ] [Webengine](https://opentelemetry.io/docs/specs/semconv/resource/webengine/) - - * [ ] [z/OS software](https://opentelemetry.io/docs/specs/semconv/resource/zos/) - - * [ ] [RPC](https://opentelemetry.io/docs/specs/semconv/rpc/ "Semantic conventions for RPC") - * [ ] [Connect](https://opentelemetry.io/docs/specs/semconv/rpc/connect-rpc/ "Semantic conventions for Connect RPC") - - * [ ] [Dubbo](https://opentelemetry.io/docs/specs/semconv/rpc/dubbo/ "Semantic conventions for Apache Dubbo") - - * [ ] [Exceptions](https://opentelemetry.io/docs/specs/semconv/rpc/rpc-exceptions/ "Semantic conventions for RPC exceptions") - - * [ ] [gRPC](https://opentelemetry.io/docs/specs/semconv/rpc/grpc/ "Semantic conventions for gRPC") - - * [ ] [JSON-RPC](https://opentelemetry.io/docs/specs/semconv/rpc/json-rpc/ "Semantic conventions for JSON-RPC") - - * [ ] [Metrics](https://opentelemetry.io/docs/specs/semconv/rpc/rpc-metrics/ "Semantic conventions for RPC metrics") - - * [ ] [Spans](https://opentelemetry.io/docs/specs/semconv/rpc/rpc-spans/ "Semantic conventions for RPC spans") - - * [ ] [Runtime environment](https://opentelemetry.io/docs/specs/semconv/runtime/ "Semantic conventions for runtime environment") - * [ ] [.NET](https://opentelemetry.io/docs/specs/semconv/runtime/dotnet-metrics/ "Semantic conventions for .NET Common Language Runtime (CLR) metrics") - - * [ ] [CPython](https://opentelemetry.io/docs/specs/semconv/runtime/cpython-metrics/ "Semantic conventions for CPython runtime metrics") - - * [ ] [Go](https://opentelemetry.io/docs/specs/semconv/runtime/go-metrics/ "Semantic conventions for Go runtime metrics") - - * [ ] [JVM](https://opentelemetry.io/docs/specs/semconv/runtime/jvm-metrics/ "Semantic conventions for JVM metrics") - - * [ ] [Node.js](https://opentelemetry.io/docs/specs/semconv/runtime/nodejs-metrics/ "Semantic conventions for Node.js runtime metrics") - - * [ ] [V8 JS engine](https://opentelemetry.io/docs/specs/semconv/runtime/v8js-metrics/ "Semantic conventions for V8 JS engine runtime metrics") - - * [ ] [System](https://opentelemetry.io/docs/specs/semconv/system/ "System semantic conventions") - * [ ] [Container](https://opentelemetry.io/docs/specs/semconv/system/container-metrics/ "Semantic conventions for container metrics") - - * [ ] [Kubernetes](https://opentelemetry.io/docs/specs/semconv/system/k8s-metrics/ "Semantic conventions for Kubernetes metrics") - - * [ ] [OpenShift](https://opentelemetry.io/docs/specs/semconv/system/openshift-metrics/ "Semantic conventions for OpenShift metrics") - - * [ ] [OS process](https://opentelemetry.io/docs/specs/semconv/system/process-metrics/ "Semantic conventions for OS process metrics") - - * [ ] [System](https://opentelemetry.io/docs/specs/semconv/system/system-metrics/ "Semantic conventions for system metrics") - - * [ ] [URL](https://opentelemetry.io/docs/specs/semconv/url/ "Semantic conventions for URL") - - -[View Markdown](https://opentelemetry.io/docs/specs/semconv/general/session/index.md) - [View page source](https://github.com/open-telemetry/semantic-conventions/tree/main/docs/general/session.md) - [Edit this page](https://github.com/open-telemetry/semantic-conventions/edit/main/docs/general/session.md) - [Create child page](https://github.com/open-telemetry/semantic-conventions/new/main/docs/general?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60get-started.md%60%0A%2A+Edit+the+%22front+matter%22+section+at+the+top+of+the+page+%28weight+controls+how+its+ordered+amongst+other+pages+in+the+same+directory%3B+lowest+number+first%29.%0A%2A+Add+a+good+commit+message+at+the+bottom+of+the+page+%28%3C80+characters%3B+use+the+extended+description+field+for+more+detail%29.%0A%2A+Create+a+new+branch+so+you+can+preview+your+new+file+and+request+a+review+via+Pull+Request.%0A) - [Create documentation issue](https://github.com/open-telemetry/semantic-conventions/issues/new?title=Semantic%20conventions%20for%20session) - [Create project issue](https://github.com/open-telemetry/semantic-conventions/issues/new) - -On this page[](https://opentelemetry.io/docs/specs/semconv/general/session/# "Top of page") - -* [Attributes](https://opentelemetry.io/docs/specs/semconv/general/session/#attributes) - -* [Session Events](https://opentelemetry.io/docs/specs/semconv/general/session/#session-events) - * [Event: `session.start`](https://opentelemetry.io/docs/specs/semconv/general/session/#event-sessionstart) - - * [Event: `session.end`](https://opentelemetry.io/docs/specs/semconv/general/session/#event-sessionend) - - -1. [Docs](https://opentelemetry.io/docs/) - -2. [Specs](https://opentelemetry.io/docs/specs/) - -3. [Semantic conventions 1.44.0](https://opentelemetry.io/docs/specs/semconv/) - -4. [General](https://opentelemetry.io/docs/specs/semconv/general/) - -5. Session - -Semantic conventions for session -================================ - -**Status**: [Development](https://opentelemetry.io/docs/specs/otel/document-status/) - -This document defines semantic conventions to apply to client-side applications when tracking sessions. - -Session is defined as the period of time encompassing all activities performed by the application and the actions executed by the end user. - -Consequently, a Session is represented as a collection of Logs, Events, and Spans emitted by the Client Application throughout the Session’s duration. Each Session is assigned a unique identifier, which is included as an attribute in the Logs, Events, and Spans generated during the Session’s lifecycle. - -When a session reaches end of life, typically due to user inactivity or session timeout, a new session identifier will be assigned. The previous session identifier may be provided by the instrumentation so that telemetry backends can link the two sessions (see [Session Start Event](https://opentelemetry.io/docs/specs/semconv/general/session/#event-sessionstart) - below). - -Attributes[](https://opentelemetry.io/docs/specs/semconv/general/session/#attributes) - --------------------------------------------------------------------------------------- - -**Attributes:** - -| Key | Stability | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values | -| --- | --- | --- | --- | --- | --- | -| [`session.id`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/session/) | ![Development](https://img.shields.io/badge/-development-blue) | `Opt-In` | string | A unique ID to identify a session. | `00112233-4455-6677-8899-aabbccddeeff` | -| [`session.previous_id`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/session/) | ![Development](https://img.shields.io/badge/-development-blue) | `Opt-In` | string | The previous `session.id` for this user, when known. | `00112233-4455-6677-8899-aabbccddeeff` | - -Session Events[](https://opentelemetry.io/docs/specs/semconv/general/session/#session-events) - ----------------------------------------------------------------------------------------------- - -### Event: `session.start`[](https://opentelemetry.io/docs/specs/semconv/general/session/#event-sessionstart) - -**Status:** ![Development](https://img.shields.io/badge/-development-blue) - -The event name MUST be `session.start`. - -Indicates that a new session has been started, optionally linking to the prior session. - -For instrumentation that tracks user behavior during user sessions, a `session.start` event MUST be emitted every time a session is created. When a new session is created as a continuation of a prior session, the `session.previous_id` SHOULD be included in the event. The values of `session.id` and `session.previous_id` MUST be different. When the `session.start` event contains both `session.id` and `session.previous_id` fields, the event indicates that the previous session has ended. If the session ID in `session.previous_id` has not yet ended via explicit `session.end` event, then the consumer SHOULD treat this continuation event as semantically equivalent to `session.end(session.previous_id)` and `session.start(session.id)`. - -**Attributes:** - -| Key | Stability | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values | -| --- | --- | --- | --- | --- | --- | -| [`session.id`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/session/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | The ID of the new session being started. | `00112233-4455-6677-8899-aabbccddeeff` | -| [`session.previous_id`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/session/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` \[1\] | string | The previous `session.id` for this user, when known. | `00112233-4455-6677-8899-aabbccddeeff` | - -**\[1\] `session.previous_id`:** If the new session is being created as a continuation of a previous session, the `session.previous_id` SHOULD be included in the event. The `session.id` and `session.previous_id` attributes MUST have different values. - -### Event: `session.end`[](https://opentelemetry.io/docs/specs/semconv/general/session/#event-sessionend) - -**Status:** ![Development](https://img.shields.io/badge/-development-blue) - -The event name MUST be `session.end`. - -Indicates that a session has ended. - -For instrumentation that tracks user behavior during user sessions, a `session.end` event SHOULD be emitted every time a session ends. When a session ends and continues as a new session, this event SHOULD be emitted prior to the `session.start` event. - -**Attributes:** - -| Key | Stability | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values | -| --- | --- | --- | --- | --- | --- | -| [`session.id`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/session/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | The ID of the session being ended. | `00112233-4455-6677-8899-aabbccddeeff` | - -Feedback --------- - -Was this page helpful? - -Yes No - -Thank you. Your feedback is appreciated! - -Please let us know [how we can improve this page](https://github.com/open-telemetry/opentelemetry.io/issues/new?template=PAGE_FEEDBACK.yml&title=[Page+feedback]%3A+ADD+A+SUMMARY+OF+YOUR+FEEDBACK+HERE) -. Your feedback is appreciated! - - - -* [](https://github.com/open-telemetry/community#mailing-lists) - -* [](https://bsky.app/profile/opentelemetry.io) - -* [](https://fosstodon.org/@opentelemetry) - -* [](https://stackoverflow.com/questions/tagged/open-telemetry) - -* [](https://github.com/cncf/artwork/tree/master/projects/opentelemetry) - -* [](https://docs.google.com/spreadsheets/d/1SYKfjYhZdm2Wh2Cl6KVQalKg_m4NhTPZqq-8SzEVO6s) - -* [](https://lookerstudio.google.com/s/tSTKxK1ECeU) - - -* [](https://github.com/open-telemetry) - -* [](https://cloud-native.slack.com/archives/C09H3MNMBQV) - -* [](https://cloud-native.slack.com/archives/CJFCJHG4Q) - -* [](https://opentelemetry.devstats.cncf.io/d/8/dashboards?orgId=1&refresh=15m) - -* [](https://www.linuxfoundation.org/legal/privacy-policy) - -* [](https://www.linuxfoundation.org/legal/trademark-usage) - -* [](https://opentelemetry.io/community/marketing-guidelines/) - -* [](https://opentelemetry.io/site/) - - -© 2019–present OpenTelemetry Authors | Docs [CC BY 4.0](https://creativecommons.org/licenses/by/4.0) -All Rights Reserved \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3d12c306..0db29fe88 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,26 @@ env: CGO_ENABLED: "1" jobs: + secrets: + name: Repository secrets + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + # Scan the source tree, including docs and generated browser assets. + # The container scan only sees files copied into the runtime image. + - name: Scan repository for secrets + uses: aquasecurity/trivy-action@a9c7b0f06e461e9d4b4d1711f154ee024b8d7ab8 # v0.36.0 + with: + scan-type: fs + scan-ref: . + version: v0.74.0 + scanners: secret + exit-code: 1 + format: table + cache: false + duckdb: name: DuckDB 2 (${{ matrix.runner }}) runs-on: ${{ matrix.runner }} @@ -181,7 +201,7 @@ jobs: image: name: Image if: github.event_name == 'push' - needs: gate + needs: [gate, secrets] runs-on: ubuntu-24.04 permissions: contents: read diff --git a/.gitignore b/.gitignore index 5cefbe09b..cd672b0d0 100644 --- a/.gitignore +++ b/.gitignore @@ -42,6 +42,8 @@ cover.out # Local environment scratch files. Fanout runtime configuration uses explicit # YAML documents and process environment; it does not load dotenv files. .env +.env.* +!.env.example # Root-scoped for the same reason as testdata/: a bare `*.png` would silently # swallow committed image assets anywhere in the tree. @@ -52,6 +54,7 @@ cover.out .serena/ .superpowers/ .playwright-mcp/ +.firecrawl/ # Ad-hoc output from `go build` without -o (named after the package). /bench diff --git a/AGENTS.md b/AGENTS.md index 381798af6..22f70988c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,5 +1,12 @@ # Agent instructions +## Public repository + +- Keep credentials, private telemetry, local workstation paths, and private AI + session links out of tracked files, commit messages, and pull request descriptions. +- Keep local agent caches, indexes, evaluation records, and browser evidence out + of both Git and the Docker build context. Git ignores do not exclude Docker inputs. + ## Control database - Keep SQLite with `modernc.org/sqlite` through `database/sql`, sqlc-generated diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8f99e47b9..74f4b3fdb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -110,6 +110,12 @@ review than one large one. If a change affects runtime behavior, public contracts, data, or security, say so explicitly in the description. +Keep credentials, private telemetry, local workstation paths, and private AI +session links out of source files, documentation, commit messages, and pull +request descriptions. Local agent caches and evaluation records belong in +ignored directories. CI scans the repository source tree for secrets as well +as scanning the runtime container. + ## Reporting bugs Include the version (`fanout --version`), how Fanout is configured, and what diff --git a/docs/superpowers/plans/2026-09-05-logged-in-ui-shell.md b/docs/superpowers/plans/2026-09-05-logged-in-ui-shell.md index be48e917c..a0f02d081 100644 --- a/docs/superpowers/plans/2026-09-05-logged-in-ui-shell.md +++ b/docs/superpowers/plans/2026-09-05-logged-in-ui-shell.md @@ -12,7 +12,7 @@ ## Global Constraints -- Branch `ui/shell-rebuild`. Every commit message ends with the trailer line `Claude-Session: https://claude.ai/code/session_015K38gEgWmGkXJyyC8GiZ8N`. +- Branch `ui/shell-rebuild`. - The lefthook pre-commit hook runs `cd ui/host && bun run lint` (which is `tsc --noEmit`) whenever staged files match `ui/host/**/*.{ts,tsx}` or `ui/theme.ts`. Every task must leave `bun run lint` green in `ui/host` before committing. `ui/apps` has the same `lint` script; run it when apps files change. - Naming: the feature is **Chat / Chats**, the button is **New chat**. The strings "Investigations", "Investigation", "Conversation history" and "Guidance" must not appear in `ui/host/src` or `ui/apps/src` when the plan is done. - `ui/` (the directory holding `theme.ts`, `tokens.ts`) has no `node_modules`. Files placed there may import only sibling files with relative paths, never bare package names. @@ -123,15 +123,13 @@ Expected: PASS, all tests in the file. ```bash cd ui/host && bun run lint -cd /Users/v/Projects/labstack/fanout +cd "$(git rev-parse --show-toplevel)" git add ui/host/src/mcp-app-frame.tsx ui/host/src/mcp-app-frame.test.tsx git commit -m "fix(ui): let embedded views load their inlined fonts The MCP app CSP only emitted font-src when a resource domain was declared, so the data: woff2 files the apps build inlines were blocked and every embedded -view rendered in the system font. - -Claude-Session: https://claude.ai/code/session_015K38gEgWmGkXJyyC8GiZ8N" +view rendered in the system font." ``` --- @@ -149,7 +147,7 @@ Claude-Session: https://claude.ai/code/session_015K38gEgWmGkXJyyC8GiZ8N" - [ ] **Step 1: Move the two pure modules** ```bash -cd /Users/v/Projects/labstack/fanout +cd "$(git rev-parse --show-toplevel)" git mv ui/apps/src/format.ts ui/format.ts git mv ui/apps/src/contracts.ts ui/contracts.ts ``` @@ -231,7 +229,7 @@ In each of `overview.tsx`, `topology.tsx`, `performance.tsx`, `trace.tsx`, `logs ```bash cd ui/apps && bun run lint && bun run build -cd /Users/v/Projects/labstack/fanout && git checkout -- internal/mcp/apps +cd "$(git rev-parse --show-toplevel)" && git checkout -- internal/mcp/apps git status --short ``` @@ -241,9 +239,7 @@ Expected: lint clean, five `✓ built` lines, and `git status` shows only the `u ```bash git add ui/format.ts ui/contracts.ts ui/chart.ts ui/apps/src -git commit -m "refactor(ui): share format, contracts and chart helpers between host and apps - -Claude-Session: https://claude.ai/code/session_015K38gEgWmGkXJyyC8GiZ8N" +git commit -m "refactor(ui): share format, contracts and chart helpers between host and apps" ``` --- @@ -358,11 +354,9 @@ Expected: PASS, seven tests. ```bash cd ui/host && bun run lint -cd /Users/v/Projects/labstack/fanout +cd "$(git rev-parse --show-toplevel)" git add ui/host/src/auth.tsx ui/host/src/auth.test.tsx -git commit -m "feat(ui): expose the signed-in account to the app - -Claude-Session: https://claude.ai/code/session_015K38gEgWmGkXJyyC8GiZ8N" +git commit -m "feat(ui): expose the signed-in account to the app" ``` --- @@ -819,7 +813,7 @@ Replace the four `.chat-history-*` rules with: - [ ] **Step 6: Delete the drawer** ```bash -cd /Users/v/Projects/labstack/fanout +cd "$(git rev-parse --show-toplevel)" git rm -q ui/host/src/chat-history.tsx ui/host/src/chat-history.test.tsx ``` @@ -1370,7 +1364,7 @@ Expected: lint clean; every test file passes (auth, auth-session, dashboard-layo - [ ] **Step 9: Build the host and check the shell by hand** ```bash -cd /Users/v/Projects/labstack/fanout && just ui-host +cd "$(git rev-parse --show-toplevel)" && just ui-host ``` Start the local instance (memory note "local UI screenshot loop") and open `http://127.0.0.1:7520/chat`. Confirm: rail on the left with New chat, Chats, Dashboards, Search; header has burger (below 992px), brand, theme toggle, avatar; no footer; avatar menu shows the email and Sign out; Cmd-K focuses search; at 390px the burger opens the drawer and nothing clips. Then discard the built assets: @@ -1389,9 +1383,7 @@ The rail is the only navigation: New chat, the chat list with rename and delete, the dashboard list, and search on Cmd-K. The footer, the Live dot and the Dashboard/Chat toggle are gone; sign out and the external links live in the account menu. The session no longer fetches a thread it has just named, -which removes the 404 on every new chat. - -Claude-Session: https://claude.ai/code/session_015K38gEgWmGkXJyyC8GiZ8N" +which removes the 404 on every new chat." ``` --- @@ -1744,9 +1736,7 @@ Expected: four chat tests pass; the suite passes; lint clean. ```bash git add ui/host/src/chat.tsx ui/host/src/chat.test.tsx ui/host/src/index.css -git commit -m "feat(ui): chat pane with sticky composer, activity line and block chrome - -Claude-Session: https://claude.ai/code/session_015K38gEgWmGkXJyyC8GiZ8N" +git commit -m "feat(ui): chat pane with sticky composer, activity line and block chrome" ``` --- @@ -1843,9 +1833,7 @@ Restart the local instance (the apps are embedded at binary build time: run `jus ```bash git add ui/host/src/mcp-app-frame.tsx ui/host/src/mcp-app-frame.test.tsx ui/apps/src internal/mcp/apps -git commit -m "feat(ui): slimmer embedded views that size to their content - -Claude-Session: https://claude.ai/code/session_015K38gEgWmGkXJyyC8GiZ8N" +git commit -m "feat(ui): slimmer embedded views that size to their content" ``` --- @@ -1951,11 +1939,9 @@ Expected: PASS, five tests. ```bash cd ui/host && bun run lint -cd /Users/v/Projects/labstack/fanout +cd "$(git rev-parse --show-toplevel)" git add ui/host/src/dashboard-layout.ts ui/host/src/dashboard-layout.test.ts -git commit -m "feat(ui): per-type widget sizes and free-slot placement - -Claude-Session: https://claude.ai/code/session_015K38gEgWmGkXJyyC8GiZ8N" +git commit -m "feat(ui): per-type widget sizes and free-slot placement" ``` --- @@ -2165,11 +2151,9 @@ Run: `cd ui/host && bun run test src/widgets/data.test.tsx && bun run lint` Expected: PASS, three tests; lint clean. ```bash -cd /Users/v/Projects/labstack/fanout +cd "$(git rev-parse --show-toplevel)" git add ui/host/package.json ui/host/bun.lock ui/host/src/echart.tsx ui/host/src/widgets -git commit -m "feat(ui): echarts in the host and a shared widget data layer - -Claude-Session: https://claude.ai/code/session_015K38gEgWmGkXJyyC8GiZ8N" +git commit -m "feat(ui): echarts in the host and a shared widget data layer" ``` --- @@ -2864,11 +2848,9 @@ Expected: PASS, seven tests; lint clean. - [ ] **Step 9: Commit** ```bash -cd /Users/v/Projects/labstack/fanout +cd "$(git rev-parse --show-toplevel)" git add ui/host/src/widgets ui/host/src/index.css -git commit -m "feat(ui): native dashboard widgets with charts, hover actions and configuration - -Claude-Session: https://claude.ai/code/session_015K38gEgWmGkXJyyC8GiZ8N" +git commit -m "feat(ui): native dashboard widgets with charts, hover actions and configuration" ``` --- @@ -3123,9 +3105,7 @@ Expected: PASS; suite green; lint clean. ```bash git add ui/host/src/dashboard.tsx ui/host/src/dashboard.test.tsx ui/host/src/index.css -git commit -m "feat(ui): dashboard page with native widgets and a quieter header - -Claude-Session: https://claude.ai/code/session_015K38gEgWmGkXJyyC8GiZ8N" +git commit -m "feat(ui): dashboard page with native widgets and a quieter header" ``` --- @@ -3340,11 +3320,9 @@ Run: `cd ui/host && bun run test src/auth.test.tsx && bun run lint` Expected: PASS, eight tests; lint clean. ```bash -cd /Users/v/Projects/labstack/fanout +cd "$(git rev-parse --show-toplevel)" git add ui/host/src/auth.tsx ui/host/src/auth.test.tsx -git commit -m "feat(ui): six-digit code entry with resend and change email - -Claude-Session: https://claude.ai/code/session_015K38gEgWmGkXJyyC8GiZ8N" +git commit -m "feat(ui): six-digit code entry with resend and change email" ``` --- @@ -3359,7 +3337,7 @@ Claude-Session: https://claude.ai/code/session_015K38gEgWmGkXJyyC8GiZ8N" - [ ] **Step 1: Sweep for the retired words** ```bash -cd /Users/v/Projects/labstack/fanout +cd "$(git rev-parse --show-toplevel)" rg -n -i 'investigation|conversation history|guidance' ui/host/src ui/apps/src ``` @@ -3379,9 +3357,7 @@ In the spec, section 3 "Widgets: native ECharts", the Configure bullet reads `Co ```bash git add docs/superpowers/specs/2026-09-05-logged-in-ui-shell-design.md -git commit -m "docs: align the shell spec with the configure modal - -Claude-Session: https://claude.ai/code/session_015K38gEgWmGkXJyyC8GiZ8N" +git commit -m "docs: align the shell spec with the configure modal" ``` --- @@ -3394,7 +3370,7 @@ Claude-Session: https://claude.ai/code/session_015K38gEgWmGkXJyyC8GiZ8N" - [ ] **Step 1: Rebuild both bundles and the binary** ```bash -cd /Users/v/Projects/labstack/fanout +cd "$(git rev-parse --show-toplevel)" just build git status --short internal/ui/dist internal/mcp/apps | head ``` @@ -3424,14 +3400,12 @@ Follow the memory note "local UI screenshot loop": fresh data dir, `FANOUT_AI_AP ```bash git add internal/ui/dist internal/mcp/apps -git commit -m "chore(ui): rebuild embedded assets for the shell rebuild - -Claude-Session: https://claude.ai/code/session_015K38gEgWmGkXJyyC8GiZ8N" +git commit -m "chore(ui): rebuild embedded assets for the shell rebuild" ``` - [ ] **Step 5: Hand off** -Use the superpowers:finishing-a-development-branch skill to decide between merging and opening a pull request. The pull request description, if one is opened, lists the spec path, the six areas above, and ends with `https://claude.ai/code/session_015K38gEgWmGkXJyyC8GiZ8N`. +Use the superpowers:finishing-a-development-branch skill to decide between merging and opening a pull request. The pull request description, if one is opened, lists the spec path and the six areas above. ## Phase G: added during execution (user requests on 2026-09-05) @@ -3489,9 +3463,7 @@ Expected: PASS. gofmt -l internal/agent # prints nothing golangci-lint run ./internal/agent git add internal/agent/runtime.go internal/agent/runtime_test.go -git commit -m "fix(agent): stop the model drawing text diagrams beside an attached view - -Claude-Session: https://claude.ai/code/session_015K38gEgWmGkXJyyC8GiZ8N" +git commit -m "fix(agent): stop the model drawing text diagrams beside an attached view" ``` --- @@ -3657,9 +3629,7 @@ git commit -m "feat(ui): set the app in Geist, with mono reserved for data One grotesk for UI, prose and headings at weight 600, Geist Mono for code, ids, timestamps and numeric cells, tabular figures throughout. Headings no -longer use the mono display face. - -Claude-Session: https://claude.ai/code/session_015K38gEgWmGkXJyyC8GiZ8N" +longer use the mono display face." ``` - [ ] **Step 9: Hand check (controller)** From 17521cfc3dc5cbb0560aa5de1d30b53727876524 Mon Sep 17 00:00:00 2001 From: Vishal Rana Date: Sat, 10 Oct 2026 08:35:43 -0700 Subject: [PATCH 2/2] fix(ci): enforce source secret scanning in required gate --- .github/workflows/ci.yml | 37 ++++++++++++++++--------------------- 1 file changed, 16 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0db29fe88..74740fe18 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,26 +18,6 @@ env: CGO_ENABLED: "1" jobs: - secrets: - name: Repository secrets - runs-on: ubuntu-24.04 - steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - with: - persist-credentials: false - # Scan the source tree, including docs and generated browser assets. - # The container scan only sees files copied into the runtime image. - - name: Scan repository for secrets - uses: aquasecurity/trivy-action@a9c7b0f06e461e9d4b4d1711f154ee024b8d7ab8 # v0.36.0 - with: - scan-type: fs - scan-ref: . - version: v0.74.0 - scanners: secret - exit-code: 1 - format: table - cache: false - duckdb: name: DuckDB 2 (${{ matrix.runner }}) runs-on: ${{ matrix.runner }} @@ -65,6 +45,21 @@ jobs: runs-on: ubuntu-24.04 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + + # Keep source scanning in the required Gate job so a finding blocks merge. + # Scan docs and generated assets too; the container only sees runtime files. + - name: Scan repository for secrets + uses: aquasecurity/trivy-action@a9c7b0f06e461e9d4b4d1711f154ee024b8d7ab8 # v0.36.0 + with: + scan-type: fs + scan-ref: . + version: v0.74.0 + scanners: secret + exit-code: 1 + format: table + cache: false - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: @@ -201,7 +196,7 @@ jobs: image: name: Image if: github.event_name == 'push' - needs: [gate, secrets] + needs: gate runs-on: ubuntu-24.04 permissions: contents: read