Hi Luis,
Indeed, the milliseconds were missing.
Thanks for the feedback!
------------------------------
Kind regards,
Jurgen Roels
Brussels, Belgium
------------------------------
Original Message:
Sent: Wed April 19, 2023 01:01 PM
From: Luis Sanchez
Subject: Create release marker through API
Apparently the "start" field didn't have the milliseconds.
Did you generate it with date +%s ?. This command issues the epoch in seconds. You should add 000, like "start": 1681729554000
Hope it help you.
------------------------------
Luis Sanchez
luis@impulseit.com
Chile
------------------------------
Original Message:
Sent: Tue April 18, 2023 07:04 AM
From: Jurgen Roels
Subject: Create release marker through API
The curl that I used is:
curl --location '<url>/api/releases' \
--header 'Authorization: apiToken <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "v2",
"start": 1681729554,
"applications": [
{
"name": "Trv-nginx-test-instana"
}
] }
It exists on the backend, since I can retrieve it through the GET releases API. This also shows that the application is linked to the correct ID:
{
"id": "d4tMdcgXRI69QywMfH-Vyg",
"name": "v2",
"start": 1681729554,
"lastUpdated": 1681729575147,
"applications": [
{
"id": "NAZonP_4QbWWCiHk6_2GnA",
"name": "Trv-nginx-test-instana"
}
] }
But in the UI, I cannot find this release on the 17th of April:
------------------------------
Jurgen Roels
Original Message:
Sent: Tue April 18, 2023 06:50 AM
From: Ben Stern
Subject: Create release marker through API
Did you associate it with the correct application(s)? Can you show us the syntax that you used. You can replace the hostname and API token with fake information.
------------------------------
Ben Stern
Executive IT Specialist / Monitoring and Analytics Best Practices and Technical Evangelist
IBM
Durham NC
919-224-1593