Hello, Developer Friends ![]()
Welcome to our latest newsletter. In this 18th edition, we cover essential updates, including our latest video release, showing keyboard shortcut guides, upcoming events, and the latest releases.
What can you expect to see in this post:
News and events
Engage and elevate
On December 10, we’ll hold our regular Dynatrace Office Hours for App development. The link will guide you to the right place!
If you want to interact with us during the session, you’ll need to sign up beforehand with your LinkedIn profile. If you don’t have a LinkedIn profile, simply join us on our Dynatrace YouTube channel at the given date and time.
As always, we’re happy to host you and look forward to answering any questions you face when developing Dynatrace apps. We’ll also give you the latest updates and releases.
Register for the upcoming session
Useful resources
Getting current user details
We released the SDK package in August to retrieve the current user’s name. The function is described here: App environment | Dynatrace Developer.
Here’s how you can use it:
import {getCurrentUserDetails} from "@dynatrace-sdk/app-environment";
export default async function () {
return getCurrentUserDetails();
}
How to handle secrets within the Dynatrace platform:
As a rule of thumb, your app should never contain secrets such as API tokens, OAuth clients, or secrets within webhook URLs for user authentication. To stay secure and handle secrets easily, Dynatrace offers Credential Vault service and the SDK, which stores secrets, certificates, and other secure data. You can retrieve four types of credentials in your app with SDK, each with a corresponding interface:
| Certificate | CredentialsDetailsCertificateResponseElement |
|---|---|
| Public certificate | CredentialsDetailsCertificateResponseElement |
| Token | CredentialsDetailsTokenResponseElement |
| Username and password | CredentialsDetailsUsernamePasswordResponseElement |
Here are some of the secret-handling best practices:
- Store secrets in the credential vault
- Give the least privileged access to tokens
- Never reuse secrets
- Rotate secrets periodically
- Review and share secrets
Check out the Manage secrets section in the security guides to learn how to implement secrets in your code.
What is Dynatrace:
Follow Penny, our developer advocate, as she discovers Dynatrace and how its observability, security, and automation capabilities help our users, who range from Infrastructure, Cloud-Native, DevOps, Platform Engineers, and Application Owners to the C-level.
Visit the launchpad shown in the video: LinkedIn
Explore Dynatrace in our Playground: Dynatrace Playground
Try out Dynatrace with a free trial: Free Dynatrace Trial
Release highlights for app developers
Design System
Strato Components
DataTable(V2) gets new updates, SegmentSelector handles shutdowns gracefully, and new component versions boost performance (charts and tables) while some old functions are retired. The annotated release notes include all the changes until the current version, 0.116.72.
Dynatrace App Toolkit
Incremental builds for widgets, a new UI typechecker, and bugfixes. The changes until the current version 0.132.0 are available in the annotated release notes.