shamusx opened a new issue, #12625: URL: https://github.com/apache/skywalking/issues/12625
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar feature requirement. ### Description PROMQL `/api/v1/query` have a parameter for `time` as per [docs](https://skywalking.apache.org/docs/main/next/en/api/promql-service/#instant-queries) but expects specific unix timestamp format. Looking to support format outlined as provided in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) to support integrations that append a different format such as [KEDA ScaledObjects](https://github.com/kedacore/keda/blob/4444aca424ce12a0e711da9ac106c2c8e829d0c9/pkg/scalers/prometheus_scaler.go#L199). ### Use case Currently `time` is required to be in specific format being unix timestamp `query=service_apdex{service="*|details|bookinfo|aks-swdemo01-centralus-1|-", layer="MESH"}[3m]&time=1726668431` Ask is to support timestamp in RFC3339 format: `query=service_apdex{service="*|details|bookinfo|aks-swdemo01-centralus-1|-", layer="MESH"}&time=2024-09-18T13:48:18Z` ### Related issues _No response_ ### Are you willing to submit a pull request to implement this on your own? - [ ] Yes I am willing to submit a pull request on my own! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
