Skip to content

Commit 7c3098d

Browse files
ref(crons): Remove documentation on Attachments (#7867)
Attachments are currently underutilized in the Crons product. As it stands, the new endpoints (using relay) do not support attachments easily, so we should avoid documenting this for now.
1 parent bf47a79 commit 7c3098d

File tree

1 file changed

+0
-40
lines changed

1 file changed

+0
-40
lines changed

src/platforms/common/crons/index.mdx

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -200,46 +200,6 @@ It's important to provide a timezone for non-repeating crontab schedules, such a
200200

201201
</Alert>
202202

203-
### Check-in Attachment (Optional)
204-
205-
Sentry Crons can help you better understand your job check-ins by storing a file, such as a log output. You'll be able to use this to debug check-in failures or track job statuses. To upload your attachment, execute the following `HTTP POST (multipart/form-data)` request:
206-
207-
<SignInNote />
208-
209-
```bash {tabTitle: curl}
210-
# Perform a POST request to attach a file to a check-in
211-
curl -X POST \
212-
'https://sentry.io/api/0/organizations/___ORG_SLUG___/monitors/<monitor_slug>/checkins/latest/attachment/' \
213-
--header 'Authorization: DSN ___PUBLIC_DSN___' \
214-
--form 'file=<file_path>'
215-
```
216-
217-
```http {tabTitle: HTTP}
218-
POST /api/0/organizations/___ORG_SLUG___/monitors/<monitor_slug>/checkins/latest/attachment/ HTTP/1.1
219-
Host: sentry.io
220-
Authorization: DSN ___PUBLIC_DSN___
221-
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
222-
223-
------WebKitFormBoundary7MA4YWxkTrZu0gW
224-
Content-Disposition: form-data; name="file"
225-
226-
<file_path>
227-
------WebKitFormBoundary7MA4YWxkTrZu0gW--
228-
```
229-
230-
<Note>
231-
We recommend uploading your attachment before you complete your second
232-
check-in.
233-
</Note>
234-
235-
Attachments can be downloaded in each corresponding check-in on your “Monitor Details” page.
236-
237-
Current attachment limitations:
238-
239-
1. Each job is limited to one attachment.
240-
2. The maximum file size is 100kb.
241-
3. Attachments aren't currently supported by our CLI or SDKs.
242-
243203
### Overlapping Jobs (Optional)
244204

245205
A job execution that begins before the previous job execution has been completed is called an overlapping job. This happens if you have a job with a runtime duration longer than your job's interval schedule.

0 commit comments

Comments
 (0)