Splunk AppDynamics

Support for KOTLIN

CommunityUser
Splunk Employee
Splunk Employee

Hi,

Can anyone tell me please if AppDynamics provides any support or extensions for applications developed and delivered in KOTLIN?

Labels (1)
0 Karma
1 Solution

Peter_Holditch
Builder

John,

Is your Kotlin code on the server side, or in a mobile application?

So far, we have had almost no asks for kotlin support on the server side, so we have not investigated what out-of-the-box configuration the language and its frameworks might need.

That said, like other JVM-based languages, it should work, given appropriate configuration of custom entry points and the like.

Warm regards,
Peter

View solution in original post

0 Karma

Claudia_Landiva
Communicator

@Shehab.Osama 
Thank you much for calling attention to this need for revision in Documentation. Wanted to let you know that we've reported it to the Docs team. We'll report back here.

Claudia_Landiva
Communicator

Hello, @Shehab.Osama 

I'm wondering if you had seen this information about instrumenting Android apps with Gradle? Not sure whether it will answer your question. Will you let us know here?

https://docs.appdynamics.com/appd/21.x/latest/en/end-user-monitoring/mobile-real-user-monitoring/ins... 

Warm regards,
Claudia Landivar, Community Manager & Editor

0 Karma

Shehab_Osama
Engager

Hello, @Claudia.Landivar

the problem is solved by adding closure in Gradle kotlin kts 

 adeum {
           account(closureOf<com.appdynamics.android.gradle.ADPluginExtension.Account> {
            this.name ="xxx"
            this.licenseKey ="yyy"
    
        })
        proguardMappingFileUpload(closureOf<com.appdynamics.android.gradle.ADPluginExtension.ProguardConfig> {
            this.failBuildOnUploadFailure = true
            this.enabled = true
        })
    }

please update your documentation for this case, KTS is spreading now in Android development community 

Rohde_Fischer
Engager

Well then let me add a voice for Kotlin support 🙂 One point in adding more official support is also keeping in touch with the upcoming market. That your current customers have not asked might be fine for them, but more and more new projects are developed in Kotlin, so by the requests you haven't gotten might be due to people finding another product and thus never voicing there wish.

Tags (1)
0 Karma

Peter_Holditch
Builder

Rohde,

Can I ask what kind of server-side projects you are developing using kotlin, and which frameworks you are using?

Warm regards,
Peter

Rohde_Fischer
Engager

Due to NDA restrictions, I can't say much about the kind of projects I'm working on, but hopefully, I can describe enough.🙂

We are working on REST services using normal APIs with JSON payloads. Currently, there is a web frontend, but it is intended for system-to-system usage in the long run.

The main frameworks (and services, not sure how relevant they are though) we are using are: Spring Boot, Flyway, Slf4j/Log4j2, Postgresql, Jackson and Gson. And yes, no Hibernate (thanks sanity)

If relevant, it's intended to be deployed using a Red Hat-based OpenJDK docker image.

I hope it's enough to help. I will try to answer to the best of my ability, but as it figures, the NDA puts a lot of limits.

// Rohde

Minor revisions for clarity and formatting
C. Landivar, Community Manager & Editory

Peter_Holditch
Builder

John,

Is your Kotlin code on the server side, or in a mobile application?

So far, we have had almost no asks for kotlin support on the server side, so we have not investigated what out-of-the-box configuration the language and its frameworks might need.

That said, like other JVM-based languages, it should work, given appropriate configuration of custom entry points and the like.

Warm regards,
Peter

0 Karma

Shehab_Osama
Engager

what about Gradle Kotlin DSL in android studio the groovy Gradle (JAVA as you mentioned in the docs ) script not working on Gradle Kotlin DSL

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Thats fine - thats all I need to know at the moment. Thanks.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...