Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: CI

on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
Expand Down
8 changes: 4 additions & 4 deletions cmd/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ EXAMPLES:
OUTPUT:
Returns time-series data including:
• series: Array of time-series data points
• from_date: Query start time (Unix timestamp milliseconds)
• to_date: Query end time (Unix timestamp milliseconds)
• from_date: Query start time (Unix timestamp seconds)
• to_date: Query end time (Unix timestamp seconds)
• query: The query string used
• res_type: Response type
• resp_version: Response version`,
Expand Down Expand Up @@ -507,8 +507,8 @@ func runMetricsQuery(cmd *cobra.Command, args []string) error {
body := datadogV2.TimeseriesFormulaQueryRequest{
Data: datadogV2.TimeseriesFormulaRequest{
Attributes: datadogV2.TimeseriesFormulaRequestAttributes{
From: from.UnixMilli(),
To: to.UnixMilli(),
From: from.Unix(),
To: to.Unix(),
Queries: []datadogV2.TimeseriesQuery{timeseriesQuery},
},
Type: datadogV2.TIMESERIESFORMULAREQUESTTYPE_TIMESERIES_REQUEST,
Expand Down
Loading