Skip to content

Commit

Permalink
release first version
Browse files Browse the repository at this point in the history
  • Loading branch information
koenekelschot committed Apr 11, 2020
1 parent 988938c commit fff994e
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 10 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
# Datadog-to-YAML
---
Converts Datadog monitor JSON into YAML

---
This conversion can be done by means of the [Chrome extension](https://github.com/peckham/Datadog-to-YAML/tree/master/releases/chrome) or the [Visual Studio Code extension](https://github.com/peckham/Datadog-to-YAML/tree/master/releases/vscode). Or both, I don't really care how you decide to do it.

---
## Chrome
The Chrome extensions adds a new `Export to YAML` button to the JSON export of the Datadog UI. This button will add the YAML to your clipboard.

---
## Visual Studio Code
The Visual Studio Code extension is activated when you open a .yaml file in the editor. Once activated you can paste the Datadog monitor JSON (or probably any valid JSON) using the keyboard shortcut `Ctrl+D, Ctrl+D` or via `Paste Datadog as YAML` in the context menu.
4 changes: 4 additions & 0 deletions releases/chrome/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Change Log

## 0.0.1
- Initial release
3 changes: 0 additions & 3 deletions releases/chrome/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
# Datadog-to-YAML Chrome extension
---
Converts Datadog monitor JSON into YAML

---
## Installation
1. Download one of the releases on this page.
2. Extract the .zip file.
3. In Chrome navigate to `chrome://extensions/` and enable developer mode in the upper right corner.
4. Add the extension by clicking on `Load unpacked` and selecting the folder where you extracted the .zip file.

---
## How to Use
1. Create or edit a monitor (but don't save it) in the Datadog UI.
2. Use the `Export as YAML` button to copy the monitor YAML.
Binary file added releases/chrome/datadog-to-yaml-0.0.1.zip
Binary file not shown.
4 changes: 4 additions & 0 deletions releases/vscode/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Change Log

## 0.0.1
- Initial release
3 changes: 0 additions & 3 deletions releases/vscode/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
# Datadog-to-YAML Visual Studio Code extension
---
Converts Datadog monitor JSON into YAML

---
## Installation
1. Download one of the releases om this page.
2. Either install the .vsix file with `code --install-extension datadog-to-yaml-{version}.vsix`, or open the extensions sidebar in Visual Studio Code, click on the ellipsis and choose `Install from VSIX`.

---
## How to Use
1. Create or edit a monitor (but don't save it) in the Datadog UI and copy the monitor JSON.
2. In Visual Studio Code, open a .yaml file and insert the monitor YAML with Ctrl+D, Ctrl+D. Or use `Paste Datadog as YAML` in the editor's context menu.
Binary file added releases/vscode/datadog-to-yaml-0.0.1.vsix
Binary file not shown.

0 comments on commit fff994e

Please sign in to comment.