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

MySQL TSDB Enablement #5277

Closed
19 tasks done
agithomas opened this issue Feb 15, 2023 · 10 comments · Fixed by #5337 or #6968
Closed
19 tasks done

MySQL TSDB Enablement #5277

agithomas opened this issue Feb 15, 2023 · 10 comments · Fixed by #5337 or #6968
Assignees

Comments

@agithomas
Copy link
Contributor

agithomas commented Feb 15, 2023

Test Environment Setup

  • Creation of MySQL setup for testing / Data preparation for testing.
  • Creation of Galera Cluster for Galera Status

Datastream : Performance

Verification and validation

  • Verify if field mapping is correct in the data stream template.
  • Verification of data in visualisation after enabling TSDB flag in kibana
  • Verification of the count of documents (before & after TSDB enablement) in Discover Interface

Datastream : Status

Verification and validation

  • Verify if field mapping is correct in the data stream template.
  • Verification of data in visualisation after enabling TSDB flag in kibana. Details
  • Verification of the count of documents (before & after TSDB enablement) in Discover Interface

Datastream : Galera Status

Verification and validation

  • Verify if field mapping is correct in the data stream template.
  • Verification of data in visualisation after enabling TSDB flag in kibana. Details
  • Verification of the count of documents (before & after TSDB enablement) in Discover Interface

Dashboard fixed

TSDB Enablement PR

Issues

Backlog Items

Links to backlog issues that could not be addressed in this TSDB enablement activity

@agithomas
Copy link
Contributor Author

Verified the Dashboard Rendering

image

@lalit-satapathy
Copy link
Collaborator

Currently blocked on: elastic/elasticsearch#94113.

@agithomas
Copy link
Contributor Author

agithomas commented Apr 19, 2023

MySQL Performance Field mapping details added below after using 8.8 and having flattened type field in the mappings.

"mysql": {
        "properties": {
          "performance": {
            "properties": {
              "events_statements": {
                "properties": {
                  "avg": {
                    "properties": {
                      "timer": {
                        "properties": {
                          "wait": {
                            "type": "long",
                            "time_series_metric": "gauge"
                          }
                        }
                      }
                    }
                  },
                  "count": {
                    "properties": {
                      "star": {
                        "type": "long",
                        "time_series_metric": "gauge"
                      }
                    }
                  },
                  "digest": {
                    "type": "flattened"
                  },
                  "last": {
                    "properties": {
                      "seen": {
                        "type": "date"
                      }
                    }
                  },
                  "max": {
                    "properties": {
                      "timer": {
                        "properties": {
                          "wait": {
                            "type": "long",
                            "time_series_metric": "gauge"
                          }
                        }
                      }
                    }
                  },
                  "quantile": {
                    "properties": {
                      "95": {
                        "type": "long",
                        "time_series_metric": "gauge"
                      }
                    }
                  },
                  "query_id": {
                    "type": "keyword",
                    "time_series_dimension": true
                  }
                }
              },
              "table_io_waits": {
                "properties": {
                  "count": {
                    "properties": {
                      "fetch": {
                        "type": "long",
                        "time_series_metric": "gauge"
                      }
                    }
                  },
                  "index": {
                    "properties": {
                      "name": {
                        "type": "keyword",
                        "ignore_above": 1024
                      }
                    }
                  },
                  "object": {
                    "properties": {
                      "name": {
                        "type": "keyword",
                        "time_series_dimension": true
                      },
                      "schema": {
                        "type": "keyword",
                        "time_series_dimension": true
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "service": {
        "properties": {
          "address": {
            "type": "keyword",
            "time_series_dimension": true
          },
          "type": {
            "type": "keyword",
            "ignore_above": 1024
          }
        }
      }

@agithomas
Copy link
Contributor Author

PR review is currently blocked on - if it is Ok to keep 8.8.0 as the min dependency.

@lalit-satapathy
Copy link
Collaborator

@agithomas, Anything pending on this? Can we merge the dimension PRs? 8.8.0 can be added in future PR.

@lalit-satapathy
Copy link
Collaborator

@agithomas, Can we update the issue with plan for MySQL?

@agithomas
Copy link
Contributor Author

@agithomas, Can we update the issue with plan for MySQL?

The MySQL pipeline is presently broken .
Once the issue is resolved, TSDB changes can be merged.

@agithomas agithomas removed the meta label Jun 27, 2023
@agithomas
Copy link
Contributor Author

image

@agithomas
Copy link
Contributor Author

image

@agithomas
Copy link
Contributor Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants