-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create additional pdata packages separated by type for further split
- Loading branch information
Showing
18 changed files
with
547 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
// Copyright The OpenTelemetry Authors | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
package logs // import "go.opentelemetry.io/collector/model/pdata/logs" | ||
|
||
// This file contains aliases for logs data structures. | ||
|
||
import "go.opentelemetry.io/collector/model/internal/pdata" | ||
|
||
// Marshaler is an alias for pdata.LogsMarshaler interface. | ||
type Marshaler = pdata.LogsMarshaler | ||
|
||
// Unmarshaler is an alias for pdata.LogsUnmarshaler interface. | ||
type Unmarshaler = pdata.LogsUnmarshaler | ||
|
||
// Sizer is an alias for pdata.LogsSizer interface. | ||
type Sizer = pdata.LogsSizer | ||
|
||
// Logs is an alias for pdata.Logs struct. | ||
type Logs = pdata.Logs | ||
|
||
// New is an alias for a function to create new Logs. | ||
var New = pdata.NewLogs | ||
|
||
// SeverityNumber is an alias for pdata.SeverityNumber type. | ||
type SeverityNumber = pdata.SeverityNumber | ||
|
||
const ( | ||
SeverityNumberUNDEFINED = pdata.SeverityNumberUNDEFINED | ||
SeverityNumberTRACE = pdata.SeverityNumberTRACE | ||
SeverityNumberTRACE2 = pdata.SeverityNumberTRACE2 | ||
SeverityNumberTRACE3 = pdata.SeverityNumberTRACE3 | ||
SeverityNumberTRACE4 = pdata.SeverityNumberTRACE4 | ||
SeverityNumberDEBUG = pdata.SeverityNumberDEBUG | ||
SeverityNumberDEBUG2 = pdata.SeverityNumberDEBUG2 | ||
SeverityNumberDEBUG3 = pdata.SeverityNumberDEBUG3 | ||
SeverityNumberDEBUG4 = pdata.SeverityNumberDEBUG4 | ||
SeverityNumberINFO = pdata.SeverityNumberINFO | ||
SeverityNumberINFO2 = pdata.SeverityNumberINFO2 | ||
SeverityNumberINFO3 = pdata.SeverityNumberINFO3 | ||
SeverityNumberINFO4 = pdata.SeverityNumberINFO4 | ||
SeverityNumberWARN = pdata.SeverityNumberWARN | ||
SeverityNumberWARN2 = pdata.SeverityNumberWARN2 | ||
SeverityNumberWARN3 = pdata.SeverityNumberWARN3 | ||
SeverityNumberWARN4 = pdata.SeverityNumberWARN4 | ||
SeverityNumberERROR = pdata.SeverityNumberERROR | ||
SeverityNumberERROR2 = pdata.SeverityNumberERROR2 | ||
SeverityNumberERROR3 = pdata.SeverityNumberERROR3 | ||
SeverityNumberERROR4 = pdata.SeverityNumberERROR4 | ||
SeverityNumberFATAL = pdata.SeverityNumberFATAL | ||
SeverityNumberFATAL2 = pdata.SeverityNumberFATAL2 | ||
SeverityNumberFATAL3 = pdata.SeverityNumberFATAL3 | ||
SeverityNumberFATAL4 = pdata.SeverityNumberFATAL4 | ||
) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.