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
I'd assume same type (float64 and speed) as 'Wind.Speed'.
I'd guess some adds to the output samples and the /testcases/ directory, but I'm not a go lang guy, so I'm going to avoid guessing about those requirements.
thanks,
Jedd.
Expected behavior
n/a
Actual behavior
n/a
Additional info
No response
The text was updated successfully, but these errors were encountered:
Use Case
Greetings,
Openweathermap plugin currently pulls two wind metrics -
wind_speed
andwind_direction
, but the upstream API also offers thewind_gust
value.Sample output from curling the openweather api:
Adding this to the telegraf openweathermap plugin looks to require small additions in three places in https://github.com/influxdata/telegraf/blob/master/plugins/inputs/openweathermap/openweathermap.go - a single line entry after each of the three existing
definitions, with
wind_gust
as the API returned key name, ande.Wind.Gust
as the new internal variable.And one line addition to: https://github.com/influxdata/telegraf/blob/master/plugins/inputs/openweathermap/types.go - adding a new entry after:
I'd assume same type (float64 and speed) as 'Wind.Speed'.
I'd guess some adds to the output samples and the /testcases/ directory, but I'm not a go lang guy, so I'm going to avoid guessing about those requirements.
thanks,
Jedd.
Expected behavior
n/a
Actual behavior
n/a
Additional info
No response
The text was updated successfully, but these errors were encountered: