You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rollouts should provide some convenience variables so that the deployment times can be passed to the query to the metric provider. The caveat is that the time format which DataDog wants the time to be in is in unix epoch, which is different than what other metric providers might want.
Recently we added {{experiment.availableAt}} and {{experiment.finishedAt}}, but:
we need more (e.g. {{rollout.deployedAt}}, {{analysis.startedAt}})
provide ways to convert the time into other formats that a metric provider wants.
We could introduce something similar to rollouts/analysis, e.g. {{analysis.startedAt.s}} would provide the analysis start time in unix epoch, since .s is the strftime representation of unix epoch.
The text was updated successfully, but these errors were encountered:
@jessesuen - I'm looking at tackling this but curious the scope of it. The first stab could be adding {{rollout.deployedAt}} and {{analysis.startedAt}} (this allows me to compare all metrics between rollout and when the analysis was started which shouldn't be until after the pod is healthy).
DataDog requires some time information as part of it's queries:
https://docs.datadoghq.com/api/?lang=bash#query-timeseries-points
Rollouts should provide some convenience variables so that the deployment times can be passed to the query to the metric provider. The caveat is that the time format which DataDog wants the time to be in is in unix epoch, which is different than what other metric providers might want.
Recently we added
{{experiment.availableAt}}
and{{experiment.finishedAt}}
, but:{{rollout.deployedAt}}
,{{analysis.startedAt}}
)In Argo workflows, we supported strftime to convert timestamps to other formats: https://github.com/argoproj/argo/blob/master/docs/workflow-controller-configmap.yaml#L62
We could introduce something similar to rollouts/analysis, e.g.
{{analysis.startedAt.s}}
would provide the analysis start time in unix epoch, since.s
is the strftime representation of unix epoch.The text was updated successfully, but these errors were encountered: