Commit c231b80
committed
Cleanup usage of TimestampUnixNanos and its API
Updates #2488
Important Changes:
* Rename pdata.TimestampUnixNanos to pdata.Timestamp
* Remove pdata.TimestampUnixNanos and helpers, move them of the pdata.Timestamp type.
* Fix bug around IsZero, this function should return true if the time is January 1, year 1, 00:00:00 UTC not epoch.
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>1 parent 7d7ae2e commit c231b80
File tree
68 files changed
+318
-332
lines changed- consumer
- pdata
- simple
- exporter/kafkaexporter
- internal
- goldendataset
- testdata
- receiver
- fluentforwardreceiver
- hostmetricsreceiver/internal
- scraper
- cpuscraper
- diskscraper
- filesystemscraper
- loadscraper
- memoryscraper
- networkscraper
- pagingscraper
- processesscraper
- processscraper
- jaegerreceiver
- kafkareceiver
- testbed/testbed
- testutil/logstest
- translator
- internaldata
- trace
- jaeger
- zipkin
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
68 files changed
+318
-332
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 26 | | |
36 | 27 | | |
37 | 28 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments