Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mysqlreceiver]: remove deprecated mysql.commands metric #17270

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: ci
Signed-off-by: Dominik Rosiek <[email protected]>
  • Loading branch information
sumo-drosiek committed Dec 27, 2022
commit eced922811c5fd0c21f18ef75e7c65d0e566b667
2 changes: 1 addition & 1 deletion receiver/mysqlreceiver/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ require (
go.opentelemetry.io/collector/component v0.68.0
go.opentelemetry.io/collector/confmap v0.68.0
go.opentelemetry.io/collector/consumer v0.68.0
go.opentelemetry.io/collector/featuregate v0.68.0
go.opentelemetry.io/collector/pdata v1.0.0-rc2
go.uber.org/zap v1.24.0
)
Expand Down Expand Up @@ -52,6 +51,7 @@ require (
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/sirupsen/logrus v1.8.1 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/collector/featuregate v0.68.0 // indirect
go.opentelemetry.io/otel v1.11.2 // indirect
go.opentelemetry.io/otel/metric v0.34.0 // indirect
go.opentelemetry.io/otel/trace v1.11.2 // indirect
Expand Down
89 changes: 0 additions & 89 deletions receiver/mysqlreceiver/testdata/scraper/expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -351,95 +351,6 @@
},
"unit": "1"
},
{
"description": "[DEPRECATED] The number of times each type of command has been executed.",
"name": "mysql.commands",
"sum": {
"aggregationTemporality": 2,
"dataPoints": [
{
"asInt": "165",
"attributes": [
{
"key": "command",
"value": {
"stringValue": "prepare"
}
}
],
"startTimeUnixNano": "1644862687825728000",
"timeUnixNano": "1644862687825772000"
},
{
"asInt": "163",
"attributes": [
{
"key": "command",
"value": {
"stringValue": "close"
}
}
],
"startTimeUnixNano": "1644862687825728000",
"timeUnixNano": "1644862687825772000"
},
{
"asInt": "167",
"attributes": [
{
"key": "command",
"value": {
"stringValue": "send_long_data"
}
}
],
"startTimeUnixNano": "1644862687825728000",
"timeUnixNano": "1644862687825772000"
},
{
"asInt": "166",
"attributes": [
{
"key": "command",
"value": {
"stringValue": "reset"
}
}
],
"startTimeUnixNano": "1644862687825728000",
"timeUnixNano": "1644862687825772000"
},
{
"asInt": "162",
"attributes": [
{
"key": "command",
"value": {
"stringValue": "execute"
}
}
],
"startTimeUnixNano": "1644862687825728000",
"timeUnixNano": "1644862687825772000"
},
{
"asInt": "164",
"attributes": [
{
"key": "command",
"value": {
"stringValue": "fetch"
}
}
],
"startTimeUnixNano": "1644862687825728000",
"timeUnixNano": "1644862687825772000"
}
],
"isMonotonic": true
},
"unit": "1"
},
{
"description": "Errors that occur during the client connection process.",
"name": "mysql.connection.errors",
Expand Down