Closed eric-the-bike-man closed 1 year ago
Thanks for your contribution!
This issue has been automatically marked as stale because it has not had activity in the last 30 days. Note that the issue will not be automatically closed, but this notification will remind us to investigate why there's been inactivity. Thank you for participating in the Datadog open source community.
If you would like this issue to remain open:
Verify that you can still reproduce the issue in the latest version of this project.
Comment that the issue is still reproducible and include updated details requested in the issue template.
Describe the bug When running
dog monitor fpost monitor.json
, any tags included in the json file do not get applied to the monitor.Label the issue properly.
severity/
label.documentation
label if this issue is related to documentation changes.To Reproduce create a JSON file named monitor.json with contents such as
run
dog monitor fpost monitor.json
Expected behavior A monitor should be created with the specified "foobar" tag. Instead no tags are created on the monitor.
Screenshots
Environment and Versions (please complete the following information): dog version 0.44.0
Additional context (https://github.com/DataDog/datadogpy/blob/master/datadog/dogshell/monitor.py#L175)
Adding
tags=monitor["tags"],
to the Monitor.create call produces the desired results.