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

InstrumentLoggerAdaptor store instrument_name and type in record #5297

Merged

Conversation

jenshnielsen
Copy link
Collaborator

This enables opentelemetry to consume these fields as extras on the log record which it cannot do for the instrument itself since that is not a natively supported type.

@codecov
Copy link

codecov bot commented Aug 1, 2023

Codecov Report

Merging #5297 (af6a6dc) into master (29097cb) will increase coverage by 0.00%.
Report is 4 commits behind head on master.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #5297   +/-   ##
=======================================
  Coverage   67.50%   67.50%           
=======================================
  Files         359      359           
  Lines       29884    29889    +5     
=======================================
+ Hits        20173    20177    +4     
- Misses       9711     9712    +1     

qcodes/logger/instrument_logger.py Outdated Show resolved Hide resolved
qcodes/logger/instrument_logger.py Show resolved Hide resolved
qcodes/logger/instrument_logger.py Outdated Show resolved Hide resolved
qcodes/logger/instrument_logger.py Outdated Show resolved Hide resolved
qcodes/logger/instrument_logger.py Show resolved Hide resolved
jenshnielsen and others added 2 commits August 1, 2023 11:24
Co-authored-by: Mikhail Astafev <astafan8@gmail.com>
@jenshnielsen jenshnielsen added this pull request to the merge queue Aug 9, 2023
Merged via the queue into microsoft:master with commit 7d4c892 Aug 9, 2023
15 checks passed
@jenshnielsen jenshnielsen deleted the loggeradapter_instrument_name branch August 9, 2023 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants