-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(batch-exports): add FailedRetryable status (and metric label) (#…
…20467) * cleanup: use status references rather than string literals * feat(batch-exports): add FailedRetryable status (and metric label) * Treat 'FailedRetryable' as 'Failed' in the front-end for right now * Fix oopsie in HTTP Exports * Fix oopsie in postgres non_retryable_error_types * Update query snapshots --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
df93f26
commit 96ac19e
Showing
18 changed files
with
370 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
posthog/migrations/0391_alter_batchexportbackfill_status_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Generated by Django 4.1.13 on 2024-02-20 19:21 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("posthog", "0390_personalapikey_scopes"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="batchexportbackfill", | ||
name="status", | ||
field=models.CharField( | ||
choices=[ | ||
("Cancelled", "Cancelled"), | ||
("Completed", "Completed"), | ||
("ContinuedAsNew", "Continued As New"), | ||
("Failed", "Failed"), | ||
("FailedRetryable", "Failed Retryable"), | ||
("Terminated", "Terminated"), | ||
("TimedOut", "Timedout"), | ||
("Running", "Running"), | ||
("Starting", "Starting"), | ||
], | ||
help_text="The status of this backfill.", | ||
max_length=64, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="batchexportrun", | ||
name="status", | ||
field=models.CharField( | ||
choices=[ | ||
("Cancelled", "Cancelled"), | ||
("Completed", "Completed"), | ||
("ContinuedAsNew", "Continued As New"), | ||
("Failed", "Failed"), | ||
("FailedRetryable", "Failed Retryable"), | ||
("Terminated", "Terminated"), | ||
("TimedOut", "Timedout"), | ||
("Running", "Running"), | ||
("Starting", "Starting"), | ||
], | ||
help_text="The status of this run.", | ||
max_length=64, | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.