|
nanoMMO 0.97.8
Building an MMO: The Engineering Series
|
#include "server/tracing.h"#include <httplib.h>#include <algorithm>#include <atomic>#include <chrono>#include <condition_variable>#include <cstddef>#include <cstdint>#include <iostream>#include <memory>#include <mutex>#include <span>#include <string>#include <string_view>#include <thread>#include <utility>#include <variant>#include <vector>#include "absl/random/random.h"#include "absl/strings/numbers.h"#include "absl/strings/str_cat.h"#include "absl/strings/str_split.h"#include "absl/time/clock.h"#include "absl/time/time.h"#include "nlohmann/json.hpp"#include "prometheus/counter.h"Go to the source code of this file.
Classes | |
| struct | nanommo::Span::Data |
Namespaces | |
| namespace | nanommo |
Functions | |
| std::string | nanommo::Traceparent (const SpanContext &context) |
| absl::StatusOr< SpanContext > | nanommo::ParseTraceparent (std::string_view traceparent) |
| SendSpans | nanommo::PostTo (const std::string &endpoint) |
| void | nanommo::StartTracing (std::string service, SendSpans send, prometheus::Registry *registry) |
| void | nanommo::StopTracing () |
| Span | nanommo::StartSpan (std::string_view name, SpanKind kind) |
| Span | nanommo::StartSpan (std::string_view name, SpanKind kind, const SpanContext &parent, absl::Time start) |
| std::string | nanommo::TraceField () |
| bool | nanommo::InTrace () |
| Span | nanommo::StartChildSpan (std::string_view name, SpanKind kind) |