Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Sentry metrics with Prometheus metrics #918

Merged
merged 34 commits into from
Oct 30, 2024
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
c8685db
Update `shared` and remove statsd metrics usage
Swatinem Oct 22, 2024
52dd85c
remove usage of mock_metrics
Swatinem Oct 22, 2024
2909aa6
feat: add Prometheus metrics for uploads
tony-codecov Oct 22, 2024
91a8578
Replace GQL Sentry Metrics with Prometheus metrics
tony-codecov Oct 22, 2024
ac58dbf
validate: Replace Sentry metrics with Prometheus metrics
tony-codecov Oct 22, 2024
6d72497
upload: Modify generate metrics labels helper function
tony-codecov Oct 22, 2024
5af7369
commits: replace Sentry metrics with Prometheus metrics
tony-codecov Oct 22, 2024
af3f0f0
Add fill_labels=False to avoid redundant labels
tony-codecov Oct 22, 2024
4c79e54
empty_upload: Replace Sentry metrics with Prometheus metrics
tony-codecov Oct 22, 2024
cfbe611
legacy upload: replace Sentry metrics with Prometheus metrics
tony-codecov Oct 22, 2024
9fe6d4b
create_upload: replace Sentry metrics with Prometheus metrics
tony-codecov Oct 22, 2024
66f02a9
upload_complete: replace Sentry metrics with Prometheus metrics
tony-codecov Oct 22, 2024
3f86b59
test_results: replace Sentry metrics with Prometheus metrics
tony-codecov Oct 22, 2024
e9ef0b4
reports: replace Sentry metrics with Prometheus metrics
tony-codecov Oct 22, 2024
9ff1ba8
Fix incr() and inc() typos
tony-codecov Oct 22, 2024
79d6d52
Merge branch 'main' into tony/prometheus-metrics
tony-codecov Oct 22, 2024
2dfa87b
fix: Lints
tony-codecov Oct 22, 2024
2e71531
More syntax and lint fixes
tony-codecov Oct 22, 2024
eaf9a41
helpers: prometheus metrics labels function linting fix
tony-codecov Oct 22, 2024
4d2c20e
reports: Make mock metrics name consistent
tony-codecov Oct 22, 2024
61865f0
Use inc_counter in shared.metrics
tony-codecov Oct 23, 2024
27f74ad
bundle_analysis: remove try block
tony-codecov Oct 23, 2024
00bd746
Merge branch 'main' into tony/prometheus-metrics
tony-codecov Oct 23, 2024
13086fd
Function name clarity ("labels" instead of "tags")
tony-codecov Oct 23, 2024
7077928
fix: Lints
tony-codecov Oct 23, 2024
08b9256
Bump shared version
tony-codecov Oct 23, 2024
44b2c12
Merge remote-tracking branch 'origin/swatinem/update-shared' into ton…
tony-codecov Oct 23, 2024
3ad8aff
Remove self.test_instances[0].test.failure_rate
tony-codecov Oct 23, 2024
bb7757a
Remove commits_where_fail
tony-codecov Oct 23, 2024
e222298
Merge branch 'main' into tony/prometheus-metrics
tony-codecov Oct 24, 2024
e052728
Merge branch 'main' into tony/prometheus-metrics
tony-codecov Oct 25, 2024
2386132
Merge branch 'main' into tony/prometheus-metrics
tony-codecov Oct 28, 2024
919ee71
Use include_empty_labels for extra clarity
tony-codecov Oct 28, 2024
c691c6e
Merge branch 'main' into tony/prometheus-metrics
tony-codecov Oct 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: Lints
tony-codecov committed Oct 23, 2024
commit 7077928331f4334afad970fd4a18685e448579d8
5 changes: 4 additions & 1 deletion upload/views/bundle_analysis.py
Original file line number Diff line number Diff line change
@@ -26,7 +26,10 @@
from services.archive import ArchiveService
from services.redis_configuration import get_redis_connection
from timeseries.models import Dataset, MeasurementName
from upload.helpers import dispatch_upload_task, generate_upload_prometheus_metrics_labels
from upload.helpers import (
dispatch_upload_task,
generate_upload_prometheus_metrics_labels,
)
from upload.views.base import ShelterMixin
from upload.views.helpers import get_repository_from_string

5 changes: 4 additions & 1 deletion upload/views/test_results.py
Original file line number Diff line number Diff line change
@@ -23,7 +23,10 @@
from reports.models import CommitReport
from services.archive import ArchiveService, MinioEndpoints
from services.redis_configuration import get_redis_connection
from upload.helpers import dispatch_upload_task, generate_upload_prometheus_metrics_labels
from upload.helpers import (
dispatch_upload_task,
generate_upload_prometheus_metrics_labels,
)
from upload.metrics import API_UPLOAD_COUNTER
from upload.serializers import FlagListField
from upload.views.base import ShelterMixin