26 Mar 2020
01:36 AM
- last edited on
25 May 2021
11:54 AM
by
MaciejNeumann
Hi,
Our customer use Dynatrace Metric API to send metric to ServiceNow.
However, on ServiceNow, REST endpoint record is limited less than 200 characters long.
We are sometimes in trouble because REST endpoint is truncated like this.
e.g.) The following API is 204 characters long, so 4 characters are truncated.
Do you have any idea to shorten REST endpoint?
We wish we could shorten environment id...
Best Regards
Natsumi Tanaka
Solved! Go to Solution.
It's not possible to shorten it. Only Idea I have is to create nginx/apache between SN and DT and there you can try use it as kind of proxy that may translate larger uris into shorter ones?
https://opensource.com/article/18/7/apache-url-shortener -> example
Sebastian
Hi, Sebastian, Thank you for your comment. Nice idea! I will ask our customer to use it!