# Introducing the Dynatrace Extensions VSCode add-on

**URL:** <https://community.dynatrace.com/t/introducing-the-dynatrace-extensions-vscode-add-on/38542>\
**Category:** Dynatrace Tips\
**Tags:** visual-studio-code, extensions, tips-and-tricks\
**Created:** [February 22, 2023, 3:04pm UTC](https://community.dynatrace.com/t/introducing-the-dynatrace-extensions-vscode-add-on/38542 "2023-02-22T15:04:09Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Radu](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radu/32/23351_2.png) [@Radu](https://community.dynatrace.com/u/Radu)\
**Post date:** [February 22, 2023, 3:04pm UTC](https://community.dynatrace.com/t/introducing-the-dynatrace-extensions-vscode-add-on/38542/1 "2023-02-22T15:04:09Z")

</div>

It is my pleasure to announce that **Dynatrace Extensions 2.0 developers** who use&nbsp; **Visual Studio Code** now have access to a specialized toolset to help them at every step of the way.&nbsp; The **Dynatrace Extensions VSCode add-on** &nbsp;came about roughly half a year ago&nbsp;from a need to speed up the writing and managing of extensions, automating content creation, packaging best practices, and bringing all of this closer to our developers - in the code editor.

In the Platform Extensions team, we’ve been using it for the past months and now the project is finally&nbsp;live on the [Marketplace](https://marketplace.visualstudio.com/items?itemName=DynatracePlatformExtensions.dynatrace-extensions) and **can be added to your Visual Studio Code editor** to supercharge your Extension 2.0 development.

**How can the add-on help?**

- It creates a new view in your editor to manage all extension projects you’re working on as well as all Dynatrace environments you’re deploying extensions to
- It offers quick VS Code commands to build, sign, deploy, and activate extensions. As well as generating the credentials needed, documentation, overview dashboard, and alerts for your extension
- It can validate your YAML manifest against our official schemas, but also bring forward specialised diagnostics for details that produce valid YAML yet still cause issues at runtime
- It can scrape Prometheus endpoints or run WMI Queries and generate the metrics & dimensions part of the YAML based on the extracted data
- It generates entire Unified Analysis screens for your topology as well as individual parts of the screens (like charts and entity lists)
- It can test your metric & entity selector queries against live data

… and more

**Got your attention? Why not try it out?**

Go to your Visual Studio Code editor and open the Extensions menu, then type “dynatrace” - the add-on shows up as:

 ![Radu_0-1688385661210.png](https://global.discourse-cdn.com/dynatrace/original/3X/3/6/36dfe17420be2aa953aff2cca31c977e33f688f3.png)

**Find out how to unlock its full potential at:&nbsp;[GitHub - dynatrace-extensions/dynatrace-extensions-vscode: A VisualStudio Code extension to support all aspects of developing Dynatrace Extensions 2.0 · GitHub](https://github.com/dynatrace-extensions/dynatrace-extensions-vscode)**

The add-on is an open-source project fully hosted on [GitHub](https://github.com/dynatrace-extensions/dynatrace-extensions-vscode)&nbsp;therefore we encourage the community to collaborate and share any ideas, improvements, or issues. Code contributions are also welcomed and anyone can help shape the future of this project.

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [February 22, 2023, 3:12pm UTC](https://community.dynatrace.com/t/introducing-the-dynatrace-extensions-vscode-add-on/38542/2 "2023-02-22T15:12:11Z")

</div>

Already installed. 😉

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [February 22, 2023, 3:13pm UTC](https://community.dynatrace.com/t/introducing-the-dynatrace-extensions-vscode-add-on/38542/3 "2023-02-22T15:13:26Z")

</div>

I’m accepting this answer as the solution. As it definitely is the solution&nbsp;:joy:

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [December 1, 2023, 10:06am UTC](https://community.dynatrace.com/t/introducing-the-dynatrace-extensions-vscode-add-on/38542/4 "2023-12-01T10:06:57Z")

</div>

Good overview from yesterday’s observability clinic:

[![](https://global.discourse-cdn.com/dynatrace/original/3X/2/7/27954407e6253144c3cee6ab64f2b9ce834940cd.jpeg "Dynatrace Extensions 2.0 for Visual Studio Code") ](https://www.youtube.com/watch?v=Qy4Ge8HIzEk)

---

<div class="post-metadata">

**Author:** ![mihaime](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@mihaime](https://community.dynatrace.com/u/mihaime)\
**Post date:** [July 26, 2024, 3:21pm UTC](https://community.dynatrace.com/t/introducing-the-dynatrace-extensions-vscode-add-on/38542/5 "2024-07-26T15:21:15Z")

</div>

Is there any way to change the Prometheus URL/Auth once I clicked on Scrape Data and set another one?

I have been clicking around directionless for the last 5-10 minutes unable to find how I can overwrite it.

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [July 26, 2024, 3:28pm UTC](https://community.dynatrace.com/t/introducing-the-dynatrace-extensions-vscode-add-on/38542/6 "2024-07-26T15:28:16Z")

</div>

The easiest way is probably to either restart vscode, or open the command palette and select “Developer: Reload window”, that should allow you to select another endpoint.

---

<div class="post-metadata">

**Author:** ![mihaime](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@mihaime](https://community.dynatrace.com/u/mihaime)\
**Post date:** [July 26, 2024, 3:35pm UTC](https://community.dynatrace.com/t/introducing-the-dynatrace-extensions-vscode-add-on/38542/7 "2024-07-26T15:35:33Z")

</div>

thank you, that did the trick.

may I abuse your help with 2 last questions?  
a) self signed certs → any flag to accept them? (I know I could do some trick and import the root CA that signed it into my mac trust chain)

“stack”: “Error: self signed certificate\n at Function.Dc.from (”  
b) for the extension simulator do I need to do anything special? (install that binary I found in another article which would not work for me as I’m on Mac M1)

I get Simulation not possible as reported error.

---

<div class="post-metadata">

**Author:** ![mihaime](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@mihaime](https://community.dynatrace.com/u/mihaime)\
**Post date:** [July 26, 2024, 3:58pm UTC](https://community.dynatrace.com/t/introducing-the-dynatrace-extensions-vscode-add-on/38542/8 "2024-07-26T15:58:02Z")

</div>

a) added the extension&nbsp;mac-ca-vs-code which takes the Certs from Keychain (imported the self signed cert in the keychain)

now I get:

Hostname/IP does not match certificate’s altnames: IP: 3.67.244.178 is not in the cert’s list:&nbsp;but this one I can fix on my own.

I’d still need a helping hand if possible with point b).  
And thank you Mike for bearing with me.

---

<div class="post-metadata">

**Author:** ![Radu](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radu/32/23351_2.png) [@Radu](https://community.dynatrace.com/u/Radu)\
**Post date:** [July 29, 2024, 7:21am UTC](https://community.dynatrace.com/t/introducing-the-dynatrace-extensions-vscode-add-on/38542/9 "2024-07-29T07:21:04Z")

</div>

We are still working on introducing the simulator in a user friendly format. Currently it’s been released as an internal poc, but it’s not to the standard we’d want users to use it (hence the complete lack of documentation).

For now, you can simulate your python extensions by running “dt-sdk run” from the terminal.
