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

chore: add logging on successful data uploads #17065

Merged
merged 1 commit into from
Oct 11, 2021

Conversation

eschutho
Copy link
Member

We are currently logging statsd for file uploads (excel/csv/columnar). This PR adds additional logging so that we can get more information about the db being logged to, as well as other information logged per each system such as user information. The statsd is automatically passed to the event_logger, so this shouldn't change or break any existing functionality.

TESTING INSTRUCTIONS

This needs to be tested with the event_logger integration from configs.

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

Copy link
Member

@betodealmeida betodealmeida left a comment

Choose a reason for hiding this comment

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

Looks great!

@pull-request-size pull-request-size bot added size/L and removed size/M labels Oct 11, 2021
@eschutho eschutho added the need:merge The PR is ready to be merged label Oct 11, 2021
@codecov
Copy link

codecov bot commented Oct 11, 2021

Codecov Report

Merging #17065 (ca1abb4) into master (c734035) will increase coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head ca1abb4 differs from pull request most recent head 17455f8. Consider uploading reports for the commit 17455f8 to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##           master   #17065   +/-   ##
=======================================
  Coverage   76.67%   76.67%           
=======================================
  Files        1031     1031           
  Lines       55182    55183    +1     
  Branches     7505     7505           
=======================================
+ Hits        42310    42311    +1     
  Misses      12620    12620           
  Partials      252      252           
Flag Coverage Δ
mysql 81.92% <100.00%> (+<0.01%) ⬆️
postgres 81.93% <100.00%> (+<0.01%) ⬆️
python 82.01% <100.00%> (+<0.01%) ⬆️
sqlite 81.60% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
superset/views/database/views.py 88.46% <100.00%> (+0.04%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c734035...17455f8. Read the comment docs.

@eschutho eschutho merged commit c2e1ab6 into apache:master Oct 11, 2021
@eschutho eschutho deleted the elizabeth/add-logging branch October 11, 2021 23:28
sadpandajoe pushed a commit to preset-io/superset that referenced this pull request Oct 11, 2021
@eschutho eschutho added the v1.4 label Oct 26, 2021
eschutho added a commit to preset-io/superset that referenced this pull request Oct 27, 2021
opus-42 pushed a commit to opus-42/incubator-superset that referenced this pull request Nov 14, 2021
QAlexBall pushed a commit to QAlexBall/superset that referenced this pull request Dec 28, 2021
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.5.0 labels Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels need:merge The PR is ready to be merged preset:2021.40 preset-io size/M v1.4 🍒 1.4.0 🍒 1.4.1 🍒 1.4.2 🚢 1.5.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants