Skip to content

Commit

Permalink
remove IntDataPoint from pdata
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Boten committed Jul 29, 2021
1 parent 19f3f24 commit 76ca212
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 398 deletions.
20 changes: 0 additions & 20 deletions cmd/pdatagen/internal/metrics_structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ var metricsFile = &File{
doubleSum,
histogram,
summary,
intDataPointSlice,
intDataPoint,
numberDataPointSlice,
numberDataPoint,
histogramDataPointSlice,
Expand Down Expand Up @@ -177,24 +175,6 @@ var summary = &messageValueStruct{
},
}

var intDataPointSlice = &sliceOfPtrs{
structName: "IntDataPointSlice",
element: intDataPoint,
}

var intDataPoint = &messageValueStruct{
structName: "IntDataPoint",
description: "// IntDataPoint is a single data point in a timeseries that describes the time-varying values of a scalar int metric.",
originFullName: "otlpmetrics.IntDataPoint",
deprecated: "Deprecated: Use NumberDataPoint instead.",
fields: []baseField{
labelsField,
startTimeField,
timeField,
valueInt64Field,
},
}

var numberDataPointSlice = &sliceOfPtrs{
structName: "NumberDataPointSlice",
element: numberDataPoint,
Expand Down
203 changes: 0 additions & 203 deletions model/pdata/generated_metrics.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 76ca212

Please sign in to comment.