cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Introducing the Dynatrace Extensions VSCode add-on

Radu
Dynatrace Champion
Dynatrace Champion

It is my pleasure to announce that Dynatrace Extensions 2.0 developers who use Visual Studio Code now have access to a specialized toolset to help them at every step of the way.  The Dynatrace Extensions VSCode add-on came about roughly half a year ago 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 live on the Marketplace 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

 

Find out how to unlock its full potential at: https://github.com/dynatrace-extensions/dynatrace-extensions-vscode  

The add-on is an open-source project fully hosted on GitHub 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.

8 REPLIES 8

Mizső
DynaMight Guru
DynaMight Guru

Already installed. 😉

Dynatrace Community RockStar 2024, Certified Dynatrace Professional

Mike_L
Dynatrace Guru
Dynatrace Guru

I'm accepting this answer as the solution. As it definitely is the solution 😂

Mike

Mike_L
Dynatrace Guru
Dynatrace Guru

Good overview from yesterday's observability clinic: https://www.youtube.com/watch?v=Qy4Ge8HIzEk&ab_channel=Dynatrace

Mike
Dynatrace Extensions 2.0 provides a powerful framework to extend Dynatrace with additional observability domain knowledge for specific technology domains, e.g: Apache Kafka, F5 Load Balancers, Database Observability ... A Dynatrace Extensions allows every Dynatrace user to define what and how ...

mihaime
Contributor

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.

 

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.

Mike

mihaime
Contributor

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.

mihaime
Contributor

a) added the extension 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: 
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.

Radu
Dynatrace Champion
Dynatrace Champion

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.

Featured Posts