Git Product home page Git Product logo

Comments (2)

IanHoang avatar IanHoang commented on September 13, 2024

Will test this out with an external datastore with the latest version.

from opensearch-benchmark.

IanHoang avatar IanHoang commented on September 13, 2024

Fetched an example here:

{
  "_index": "benchmark-metrics-2023-05",
  "_id": "CcSTNYgBe89sZjg205DG",
  "_version": 1,
  "_score": null,
  "_source": {
    "@timestamp": 1684526059367,
    "relative-time-ms": 33.14203800000026,
    "test-execution-id": "3e240d18-fc87-4c49-9712-863196efcef4",
    "test-execution-timestamp": "20230519T195412Z",
    "environment": "local",
    "workload": "geonames",
    "test_procedure": "append-no-conflicts",
    "provision-config-instance": "external",
    "name": "latency",
    "value": 671.8102729999993,
    "unit": "ms",
    "sample-type": "normal",
    "meta": {
      "source_revision": "unknown",
      "distribution_version": "1.1.0",
      "distribution_flavor": "oss",
      "success": true
    },
    "task": "create-index",
    "operation": "create-index",
    "operation-type": "create-index"
  },
  "fields": {
    "@timestamp": [
      "2023-05-19T19:54:19.367Z"
    ],
    "test-execution-timestamp": [
      "2023-05-19T19:54:12.000Z"
    ]
  },
  "sort": [
    1684526052000
  ]
}

This issue suggests that operation-type property should be "CreateIndex". However, this isn't the case when we look at the from_hyphenated_string() method:

https://github.com/IanHoang/opensearch-benchmark/blob/b98cebd1d66f8573e743e0b6c6a57658a858f099/osbenchmark/workload/workload.py#L653-L654

In this example, the class OperationType.CreateIndex is returned. Upon closer inspection, the string representation of the object, denoted by __repr__, shows "create-index". Closing this issue as it's not an issue. Feel free to reopen issue if anyone has any concerns or questions.

from opensearch-benchmark.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.