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

[HA Proxy] TSDB Enablement #7138

Closed
20 tasks done
agithomas opened this issue Jul 25, 2023 · 6 comments
Closed
20 tasks done

[HA Proxy] TSDB Enablement #7138

agithomas opened this issue Jul 25, 2023 · 6 comments
Assignees

Comments

@agithomas
Copy link
Contributor

agithomas commented Jul 25, 2023

Test Environment Setup

  • Creation of Test Environment

Datastream : info

Verification and validation

  • Verification of data in visualisation after enabling the TSDB flag in kibana
  • Verification of the count of documents (before & after TSDB enablement) in Discover Interface
  • Verify if field mapping is correct in the data stream template.
  • Verify if the TSDB can be disabled using the API method
  • Verify if the TSDB can be re-enabled after 4 hours, following disablement using API method, making use of package upgrade.
  • Add screenshots of dashboards (Recommended), if applicable.

Datastream : stat

Verification and validation

  • Verification of data in visualisation after enabling the TSDB flag in kibana
  • Verification of the count of documents (before & after TSDB enablement) in Discover Interface
  • Verify if field mapping is correct in the data stream template.
  • Verify if the TSDB can be disabled using the API method
  • Verify if the TSDB can be re-enabled after 4 hours, following disablement using API method, making use of package upgrade.
  • Add screenshots of dashboards (Recommended), if applicable.

TSDB Release PR

Blocked by

@agithomas
Copy link
Contributor Author

haproxy stats datastream has field having text type mapping. This would leads to issue as below when on doing elastic-package install

Install the package
Error: can't install the package: can't install the package: could not install package; API status code = 500; response body = {"statusCode":500,"error":"Internal Server Error","message":"illegal_argument_exception\n\tRoot causes:\n\t\tillegal_argument_exception: field [haproxy.stat.source.address] of type [text] doesn't support synthetic source unless it is stored or has a sub-field of type [keyword] with doc values or stored and without a normalizer"}

@agithomas
Copy link
Contributor Author

The above mentioned issue is related to

elastic/elasticsearch#96254
elastic/elasticsearch#97039

@agithomas
Copy link
Contributor Author

Below are the details of dashboard testing report post enabling the TSDB & metric_type mapping. The visualisation library elements marked as Not Ok must be corrected to use the appropriate aggregation function.

Requests - OK
Health Check - Not Ok
Connections - Not Ok
Downtime seconds - Not Ok
Traffic Volume - Not Ok
Average Connection time - Ok
Servers per connection - Not Ok
Backends per connection - Not Ok
Average response time - Ok
Connections per server - Not Ok
Frontends per connection - Not Ok
HTTP response codes - Not Ok
Number of Server connections - Not Ok
Active servers in backend - Ok
Average time in queue - Ok

@agithomas
Copy link
Contributor Author

Health Check Metrics
Before
image

After

Connections
Before

image

After

Downtime seconds

Before
image

@agithomas
Copy link
Contributor Author

agithomas commented Oct 13, 2023

Traffic Volume
Before
image

After

Servers per connection

Before
image

After

Backend per connection

Before

image

After

@agithomas
Copy link
Contributor Author

Connections per server
Before

image

After

Frontend per connection

Before
image

After

HTTP Response Code

Before
image

Number of Server connections

Before
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
Development

No branches or pull requests

1 participant