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.
https://xx.xx.x.xx/e/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/api/v2/metrics/query?metricSelector=builtin:service.response.time&resolution=h&from=now-24h&entitySelector=type(SERVICE),entityName(servicenameA2)
Do you have any idea to shorten REST endpoint?
We wish we could shorten environment id…
Best Regards
Natsumi Tanaka
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?
How to build a URL shortener with Apache | Opensource.com → example
Sebastian
Hi, Sebastian, Thank you for your comment. Nice idea! I will ask our customer to use it!