File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ public class Example {
140140 .key(" Metric_name" ) // e.g. sales
141141 .value(123f)
142142 .date(" Date_in_ISO8601" ) // e.g. " 2024-08-01T00:00:00Z"
143- .unit(" Unit" ) // optional - e.g. EUR
143+ .unit(" Unit" ) // optional - e.g. USD
144144 .attributes(List.of(new PushDataAttribute().key(" Dimension_name" ).value(" Dimension_value" ))); // optional - e.g. currency & USD
145145
146146 DefaultApi apiInstance = new DefaultApi(defaultClient);
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ public static void main(String[] args) {
1919 .key ("<Metric_name>" ) // e.g. sales
2020 .value (123f )
2121 .date ("<Date_in_ISO8601>" ) // e.g. "2024-08-01T00:00:00Z"
22- .unit ("<Unit>" ) // optional - e.g. EUR
22+ .unit ("<Unit>" ) // optional - e.g. USD
2323 .attributes (List .of (new PushDataAttribute ().key ("<Dimension_name>" ).value ("<Dimension_value>" ))); // optional - e.g. currency & USD
2424
2525 DefaultApi apiInstance = new DefaultApi (defaultClient );
You can’t perform that action at this time.
0 commit comments