Skip to content

Improves readme.#10

Merged
jcchavezs merged 6 commits into
masterfrom
updates_readme
Mar 23, 2018
Merged

Improves readme.#10
jcchavezs merged 6 commits into
masterfrom
updates_readme

Conversation

@jcchavezs
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread README.md
## Requirements

### Run tests
- PHP 5.6 or later
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Miss bcmath extension. I know this is still wip but that way I don't forget :)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

Comment thread composer.json
"minimum-stability": "dev",
"require": {
"php": "^5.6||^7.0",
"ext-bcmath": "*",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kevinlebrun removed the dependency.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

@jcchavezs jcchavezs changed the title [WIP] Improves readme. Improves readme. Mar 21, 2018
@palazzem palazzem added ☠️ do-not-merge/WIP 🍏 core Changes to the core tracing functionality labels Mar 22, 2018
@palazzem palazzem added this to the 0.1.0 milestone Mar 22, 2018
@palazzem palazzem added cat:docs and removed 🍏 core Changes to the core tracing functionality ☠️ do-not-merge/WIP labels Mar 22, 2018
Comment thread README.md Outdated
'global_tags' => ['host' => 'hostname'],
];

$tracer = new Tracer($transport, [
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

general design: can't we provide reasonable defaults to avoid all this configuration? it's quite long to configure the tracer. If it already has defaults, let's create an advanced section with this snippet and a simple "Getting Started" where you initialize the tracer with defaults + trace a code-block

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tracer comes with all this defaults, the reason why I included it in the example was to show all accepted arguments in the config. We can definitively move them to a advanced config or simply add a link in the bottom to the actual code (which also includes information).

Comment thread src/DDTrace/Tracer.php
/**
* Enabled, when false, returns a no-op implementation of the Tracer.
*/
'enabled' => true,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed this as it was not being used and can not find how is it being used in other libraries. cc @palazzem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants