Skip to content

Commit 64616a7

Browse files
Merge branch 'master' into aspnetcore-6
2 parents 2b8af3a + ceb2cef commit 64616a7

Some content is hidden

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

50 files changed

+1220
-18
lines changed

develop-docs/sdk/telemetry/logs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ A new data category for logs has been added to Relay, `log_item`. Both the `log`
396396

397397
### Buffering
398398

399-
Logs should be buffered before being sent. SDKs should keep a buffer of logs on the client (so you can have logs from multiple traces in the buffer) that flushes out based on some kind of condition. We recommend to use follow the [batch processor specification outlined](/sdk/telemetry/spans/batch-processor/) in the develop docs, but you should choose the approach that works best for your platform. When starting initial development on the SDK you can choose a simple approach to buffer like flushing logs if the buffer length exceeds 100 items, or if 5 seconds have passed.
399+
Logs should be buffered before being sent. SDKs should keep a buffer of logs on the client (so you can have logs from multiple traces in the buffer) that flushes out based on some kind of condition. We recommend to follow the [telemetry buffer specification outlined](/sdk/telemetry/telemetry-buffer/) in the develop docs, but you should choose the approach that works best for your platform. When starting initial development on the SDK you can choose a simple approach to buffer like flushing logs if the buffer length exceeds 100 items, or if 5 seconds have passed.
400400

401401
SDKS should NOT release logging capabilities to users if a buffering implementation has not been added to their SDK when adding logging APIs.
402402

develop-docs/sdk/telemetry/spans/batch-processor.mdx renamed to develop-docs/sdk/telemetry/telemetry-buffer.mdx

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
2-
title: Batch Processor
2+
title: Telemetry Buffer
3+
redirect_from:
4+
- /sdk/telemetry/spans/batch-processor/
35
---
46

57
<Alert level="warning">
@@ -10,6 +12,33 @@ title: Batch Processor
1012
This document uses key words such as "MUST", "SHOULD", and "MAY" as defined in [RFC 2119](https://www.ietf.org/rfc/rfc2119.txt) to indicate requirement levels.
1113
</Alert>
1214

15+
The telemetry buffer sits between the client and the transport, temporarily buffering high-volume telemetry data such as spans and logs. The client SHOULD continue to pass low-volume telemetry data, such as events, directly to the transport. The telemetry buffer aims to efficiently batch data to reduce the number of outgoing HTTP requests and Sentry envelopes. Without buffering, each span or log would trigger its own request, quickly overwhelming our backends.
16+
17+
```mermaid
18+
flowchart LR
19+
Client[Client] -->|high-volume telemetry data| Buffer[TelemetryBuffer]
20+
Buffer -->|buffered telemetry data| Transport[Transport]
21+
Client -->|low-volume telemetry data| Transport
22+
```
23+
24+
Because telemetry workloads and platform constraints vary widely, buffer requirements differ across environments. For example, backend SDKs need high throughput and backpressure management to handle large data volumes. Mobile SDKs have lower throughput and don't need to worry much about backpressure, but they do need to minimize data loss in the event of abnormal process termination. Browser and GDX SDKs also have different requirements.
25+
26+
Therefore, we recommend implementing different types of telemetry buffers tailored to the platform's needs. As of Nov 5th, 2025, this page is under development, and we're currently refining the requirements for different platforms:
27+
28+
* [BatchProcessor V0](#batchprocessor-v0): The BatchProcessor V0 outlines the initial requirements, primarily for logs, to avoid sending numerous HTTP requests. This section exists only as a placeholder until we fully spec out the other telemetry buffers.
29+
* [Backend Telemetry Buffer](#backend-telemetry-buffer): To be defined
30+
* [Mobile Telemetry Buffer](#mobile-telemetry-buffer): To be defined
31+
* [Browser Telemetry Buffer](#browser-telemetry-buffer): To be defined
32+
* [GDX Telemetry Buffer](#gdx-telemetry-buffer): To be defined
33+
34+
# Common Requirements
35+
36+
To be defined. Things like common API, client reports, etc.
37+
38+
# BatchProcessor V0
39+
40+
## Overview
41+
1342
The BatchProcessor batches spans and logs into one envelope to reduce the number of HTTP requests. When an SDK implements span streaming or logs, it MUST use a BatchProcessor, which is similar to [OpenTelemetry's Batch Processor](https://github.com/open-telemetry/opentelemetry-collector/blob/main/processor/batchprocessor/README.md). The BatchProcessor holds logs and finished spans in memory and batches them together into envelopes. It uses a combination of time and size-based batching. When writing this, the BatchProcessor only handles spans and logs, but an SDK MAY use it for other telemetry data in the future.
1443

1544
## Specification
@@ -95,3 +124,19 @@ Scenario: 1 span added application crashes
95124
And loses the spans in the BatchProcessor
96125
97126
```
127+
128+
# Backend Telemetry Buffer
129+
130+
To be defined
131+
132+
# Mobile Telemetry Buffer
133+
134+
To be defined
135+
136+
# Browser Telemetry Buffer
137+
138+
To be defined
139+
140+
# GDX Telemetry Buffer
141+
142+
To be defined

docs/organization/early-adopter-features/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ Limitations:
2323
- [Span Summary](/product/insights/overview/transaction-summary/#span-summary)
2424
- [Dynamic Alerts](/product/alerts/create-alerts/metric-alert-config/#dynamic-alerts)
2525
- [New Trace Explorer With Span Metrics](/product/explore/new-trace-explorer/)
26+
- [Size Analysis](/product/size-analysis/)
112 KB
Loading
124 KB
Loading
69.9 KB
Loading
54.3 KB
Loading
31 KB
Loading

docs/organization/integrations/issue-tracking/sentry-linear-agent/index.mdx

Lines changed: 62 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ og_image: /og-images/organization-integrations-issue-tracking-sentry-linear-agen
99

1010
<Alert title="Beta">
1111

12-
**Sentry Agent for Linear** is in its beta phase. It is currently only available for US-based Sentry.io organizations. Changes to the UX and the agent functionality should be expected.
12+
**Sentry Agent for Linear** is in its beta phase. Changes to the UX and the agent functionality should be expected.
1313

1414
</Alert>
1515

@@ -24,7 +24,6 @@ This integration highly benefits from having [automation configured within Seer]
2424
Sentry owner, manager, or admin permissions are required to install this integration.
2525

2626
Linear **won't** work with self-hosted Sentry.
27-
2827
</Alert>
2928

3029
Navigate to **Settings > Integrations > Linear (Sentry Agent)**, accept and install.
@@ -42,31 +41,87 @@ When the issue is delegated to the agent, the agent will automatically check for
4241

4342
For comment based interactions, the integration accepts natural language. We attempt to parse the intent of the question and trigger the appropriate response. If it fails, we'll prompt the help command that will guide you through options.
4443

45-
Currently the integration allows the user to run the following actions:
44+
Most actions are available via interactive buttons or natural language. Currently, the integration allows the user to run the following actions:
4645

4746
- Issue Fix - Runs a Seer Issue Fix for the application.
4847
- Status - Updates the status of the issue.
4948
- Help - Displays the help command that will guide you through options.
49+
- Enable/Disable automatic Seer runs - Toggle whether Seer automatically runs (without confirmation) when issues are assigned in Linear.
50+
- Enable/Disable Seer PRs - Allow Seer to open pull requests automatically when fixes are ready.
51+
52+
## Automation & Configuration
53+
54+
When an issue is assigned to the Sentry Agent in Linear, the user will be prompted to link their account with Sentry. This creates the relationship between your Linear user and your Sentry user, and exposes the projects and Sentry resources the user has access to.
55+
56+
The OAuth consent screen shows what orgnaization is connecting to Linear as well as gives options that can be enabled to customize the Sentry Agent in Linear's behavior.
57+
58+
<div style={{width: '50%'}}>
59+
60+
![OAuth consent screen](./img/Linear-oauth-consent.png)
61+
62+
</div>
63+
64+
These options can also be managed within the agent interface after the account is linked through the `help` command and leveraging the select menu at the bottom.
65+
66+
<div style={{width: '50%'}}>
67+
68+
![Help command](./img/Linear-agent-help-options.png)
69+
70+
</div>
71+
72+
These options can also be enabled interactively during agent sessions. These options present themselves in the following ways:
73+
74+
- Via buttons after an issue is assigned:
75+
- `Yes, run Seer RCA` runs Seer Root Cause Analysis (RCA) for the current issue
76+
- `Yes, and run automatically in the future` enables automatic runs in the future for this workspace and starts Seer RCA for the current issue
77+
- Natural language controls:
78+
- "enable automatic seer runs", "disable automatic seer runs"
79+
- "enable Seer PRs", "disable Seer PRs"
5080

5181
## Assigning Sentry Agent to an Issue
5282

5383
1. Navigate to an issue within Linear and select "Assign" from the dropdown menu in the right sidebar.
5484

85+
<div style={{width: '75%'}}>
86+
5587
![Select Sentry Agent for Linear](./img/Linear-Agent-Delegation.png)
5688

89+
</div>
90+
5791
2. Select "Sentry" from the dropdown menu.
5892

5993
3. The task will be moved into in-progress and the Sentry agent session will be created. If it's your first time using the Agent, you'll be prompted to authenticate. Use the "Link" button to link your Linear user to your Sentry user.
6094

6195
![Link Sentry Agent for Linear](./img/Linear-Linking-Auth.png)
6296

63-
4. Once linked, you'll be asked if you want to run a Seer Issue Fix for the application. You can answer "Yes", or ask for "Help" to see more options.
97+
4. If auto-run is disabled, you'll see a prompt with buttons:
98+
99+
- `Yes, run Seer RCA`
100+
- `Yes, and run automatically in the future`
101+
<div style={{width: '65%'}}>
102+
![Enable automatic Seer runs](./img/Linear-run-or-run-always.png)
103+
</div>
104+
105+
5. If auto-run is enabled, the Agent will start Seer automatically and confirm it's running. Use "status" to check progress or view results. If an analysis already exists, the Agent will post the latest status or Sentry issue details.
106+
107+
<div style={{width: '65%'}}>
108+
109+
![Seer RCA in Linear](./img/Linear-Sentry-RCA-2.png)
110+
111+
</div>
112+
113+
114+
### Triage Rules
115+
116+
The Sentry Agent supports Linear's triage rules allowing you to tag issues with a custom label in Linear, and have it execute the Sentry Agent. Examples are below.
117+
118+
#### Triage Configuration
64119

65-
![Run Seer in Linear](./img/Linear-Help.png)
120+
![Triage Configuration](./img/Linear-triage-rule.png)
66121

67-
5. If you answer "Yes", the Agent will run a Seer Issue Fix for the application. **Note**: You may need to prompt it for "Status" to see the results.
122+
#### Triage Action
68123

69-
![RCA from Sentry Seer in Linear](./img/Linear-Sentry-RCA-2.png)
124+
![Triage Action](./img/Linear-triage-claim.png)
70125

71126
## Uninstalling the Integration
72127

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
title: Size Analysis
3+
sidebar_title: Size Analysis
4+
sidebar_order: 5200
5+
description: Upload Android builds to Sentry for Size Analysis.
6+
---
7+
8+
<Include name="size-analysis/ea" />
9+
10+
[Size Analysis](/product/size-analysis) helps monitor your mobile app's size in pre-production to prevent unexpected size increases (regressions) from reaching users. Aside from being courteous to your users, a smaller app size helps boost installation and retention rates, especially for customers with limited storage or slower connections.
11+
12+
## Getting Started
13+
14+
**Accepted Formats**: AAB (preferred) | APK
15+
16+
**Upload Mechanisms**: [Gradle](#uploading-with-gradle) | [Sentry CLI](#uploading-with-the-sentry-cli)
17+
18+
### Uploading With Gradle
19+
20+
<Include name="size-analysis/upload-gradle" />
21+
22+
### Uploading With the Sentry CLI
23+
24+
<Include name="size-analysis/upload-cli-android" />
25+
26+
## Upload Metadata
27+
28+
<Include name="size-analysis/upload-metadata" />
29+
30+
### Build Configuration
31+
32+
<Include name="size-analysis/build-configuration-android" />
33+
34+
## What's Next?
35+
36+
We strongly recommend integrating Size Analysis into your CI pipeline. Follow our guide on [getting set up in CI](/product/size-analysis/integrating-into-ci/).
37+
38+
<PageGrid />

0 commit comments

Comments
 (0)