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

ref: Remove references to deprecated settings #66532

Merged
merged 2 commits into from Mar 7, 2024
Merged

Conversation

lynnagara
Copy link
Member

settings.KAFKA_INGEST_PERFORMANCE_METRICS and settings.KAFKA_INGEST_METRICS are deprecated.

The IngestConfiguration.input_topic was never used anywhere.

settings.KAFKA_INGEST_PERFORMANCE_METRICS and settings.KAFKA_INGEST_METRICS
are deprecated.
@lynnagara lynnagara requested review from a team as code owners March 7, 2024 18:59
@lynnagara lynnagara requested a review from a team March 7, 2024 18:59
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Mar 7, 2024
Copy link

codecov bot commented Mar 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.31%. Comparing base (86291d0) to head (2c297bf).
Report is 31 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #66532   +/-   ##
=======================================
  Coverage   84.30%   84.31%           
=======================================
  Files        5311     5311           
  Lines      237358   237421   +63     
  Branches    41058    41075   +17     
=======================================
+ Hits       200107   200170   +63     
  Misses      37032    37032           
  Partials      219      219           
Files Coverage Δ
src/sentry/sentry_metrics/configuration.py 100.00% <ø> (ø)

... and 31 files with indirect coverage changes

@@ -116,8 +113,7 @@ def get_ingest_config(
MetricsIngestConfiguration(
db_backend=IndexerStorage.MOCK,
db_backend_options={},
input_topic="topic",
output_topic="output-topic",
output_topic=Topic.SNUBA_METRICS,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This type was wrong, it's only used in tests though

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How did it pass mypy ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's on the excluded from checking list 😆

@@ -116,8 +113,7 @@ def get_ingest_config(
MetricsIngestConfiguration(
db_backend=IndexerStorage.MOCK,
db_backend_options={},
input_topic="topic",
output_topic="output-topic",
output_topic=Topic.SNUBA_METRICS,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How did it pass mypy ?

@lynnagara lynnagara merged commit db0aa94 into master Mar 7, 2024
49 checks passed
@lynnagara lynnagara deleted the metrics-configuration branch March 7, 2024 22:48
@github-actions github-actions bot locked and limited conversation to collaborators Mar 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants