# Custom extensions creator

**URL:** <https://community.dynatrace.com/t/custom-extensions-creator/54442>\
**Category:** Extensions\
**Tags:** informix, databases, extensions\
**Created:** [December 18, 2025, 8:01pm UTC](https://community.dynatrace.com/t/custom-extensions-creator/54442 "2025-12-18T20:01:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![NicoleMT](https://avatars.discourse-cdn.com/v4/letter/n/3be4f8/32.png) [@NicoleMT](https://community.dynatrace.com/u/NicoleMT)\
**Post date:** [December 18, 2025, 8:01pm UTC](https://community.dynatrace.com/t/custom-extensions-creator/54442/1 "2025-12-18T20:01:54Z")

</div>

Hello,  
I would like to add new metrics to the existing&nbsp; **Informix extension**.

I noticed that Dynatrace provides an&nbsp; **Extension Creator app** , and I would like to use it for this purpose. However, I have a few questions and would appreciate your guidance:

- Is it recommended to add the new metrics to the&nbsp; **existing Informix extension** , or is it better to&nbsp; **create a new extension**?
- If a new extension is created, how would both extensions work together?
- Are there any best practices or limitations I should be aware of in this scenario?

Best regards

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [December 18, 2025, 8:38pm UTC](https://community.dynatrace.com/t/custom-extensions-creator/54442/2 "2025-12-18T20:38:23Z")

</div>

[@NicoleMT](https://community.dynatrace.com/user/85361)&nbsp;,

If you want to clone a Dynatrace extension, you have to create a new extension. It will have a different name, but it can have the same metrics, but with different data/periods/dimensions. Beware that there are some gotchas, some of which have not been discussed publicly…

Both extensions can then work together, and I have several cases where it happens. But you should be careful to not replicate data, is it certainly is not in your interest. This is valid for all types of extensions, including the python ones.

There are some limitations, as I hinted above. One example: if you distribute a classic dashboard and aren’t careful, you’ll end up with two exact the same dashboards, and if you don’t tweak them, you might not be able to get rid of them as you are not able to do that with Dynatrace dashboards.

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [December 18, 2025, 9:07pm UTC](https://community.dynatrace.com/t/custom-extensions-creator/54442/3 "2025-12-18T21:07:58Z")

</div>

Could not agree more with [@AntonioSousa](https://community.dynatrace.com/user/17213)&nbsp;. I’d not recommend cloning the extension, but instread just create your own extension that will get the data you don’t have and you will run both.

But I also had one case to “clone” the Postgres as it performs queries which fail on particular Postgres versions and those queries [throw error messages into the Postgres log](https://docs.dynatrace.com/docs/observe/infrastructure-observability/databases/extensions/postgresdb-remote-monitoring#faq), which, unsurprisingly, the DBA does not like. I cloned the extension, fixed the errors by reorganising featureSets. However, you can’t build the exact same version, so I kept the Dynatrace original version installed (unconfigured), and my version does not include any topology/dashboards/alerts/ or metadata. It just scrapes the metrics instead of the original one. So it does not collide at all.

---

<div class="post-metadata">

**Author:** ![NicoleMT](https://avatars.discourse-cdn.com/v4/letter/n/3be4f8/32.png) [@NicoleMT](https://community.dynatrace.com/u/NicoleMT)\
**Post date:** [December 18, 2025, 9:13pm UTC](https://community.dynatrace.com/t/custom-extensions-creator/54442/4 "2025-12-18T21:13:57Z")

</div>

Hello, thank you very much for the information. I like the idea of just using the query. Do you have an example of how you did it, please? Also, can I do this with the Custom Extension Creator?

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [December 18, 2025, 9:36pm UTC](https://community.dynatrace.com/t/custom-extensions-creator/54442/5 "2025-12-18T21:36:57Z")

</div>

[@NicoleMT](https://community.dynatrace.com/user/85361)&nbsp;Yes, certainly you can do that using the Custom Extension Creator, although I don’t use it. I prefer vscode + Dynatrace VSCode plugin for developing extensions.

You choose to build a new one, with JDBC as the source and you edit the yaml:

 ![Julius_Loman_0-1766093666068.png](https://global.discourse-cdn.com/dynatrace/original/3X/9/1/919178f2669fa61d2380ae8233539e429f9f888b.png)

This is quite straightforward. You then need to sign it with your certificate, which also needs to be uploaded to the ActiveGates, which will run the extension, so it’s trusted.

Here is the reference for SQL data source:&nbsp;[SQL data source reference — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/sql-reference)

But I’ll **highly recommend** watching this video first if you are new to extension “development”

[![](https://global.discourse-cdn.com/dynatrace/original/3X/4/e/4eb12e9e93fd0cdedcd07d59496499a7c7c7ab77.jpeg "A Practical Guide to SQL Extensions with Dynatrace") ](https://www.youtube.com/watch?v=t9kHPKL9yKY)

---

<div class="post-metadata">

**Author:** ![NicoleMT](https://avatars.discourse-cdn.com/v4/letter/n/3be4f8/32.png) [@NicoleMT](https://community.dynatrace.com/u/NicoleMT)\
**Post date:** [December 29, 2025, 4:36pm UTC](https://community.dynatrace.com/t/custom-extensions-creator/54442/6 "2025-12-29T16:36:39Z")

</div>

Hi, thank you for the information.

I followed the videos and the documentation and, based on what you shared, I tried to build the **YAML** configuration. This is the result I obtained. Could you please help me verify whether it is correct?

Additionally, I have the following question: is there any potential performance impact on the database when executing this query? If so, what _timeout_ value would you recommend configuring?

I would really appreciate your help.

The query is the following:

```auto
jdbc:
  - group: Informix Fragment Usage
    featureSet: database
    timeout: "30"
    query: > SELECT
        t.tabname as table_name,
        f.partition as fragment_name,
        p.npused as used_pages,
        TRUNC(p.npused/16775134 * 100) as used_percent
      FROM systables t
      JOIN sysfragments f ON t.tabid = f.tabid
      JOIN sysptnhdr p ON f.partn = p.partnum
      WHERE t.tabname NOT LIKE '%_old'
        AND f.partition LIKE CONCAT(var:fragment_prefix, '%')
        AND SUBSTRING(f.partition FROM 6 FOR 11) = TO_CHAR(TODAY, '%Y%m')
      ORDER BY used_percent DESC

    dimensions:
      - key: table
        value: col:table_name
      - key: fragment
        value: col:fragment_name

    metrics:
      - key: com.empresa.informix.fragment.used_pages
        value: col:used_pages
        type: gauge
        metadata:
          displayName: Used Pages
          unit: Count

      - key: com.empresa.informix.fragment.used_percent
        value: col:used_percent
        type: gauge
        metadata:
          displayName: Used Percent
          unit: Percent

```
