Skip to content

Add describe and autodescribe to detect dupes. - #162

Merged
brian-brazil merged 1 commit into
masterfrom
describe
Nov 25, 2016
Merged

Add describe and autodescribe to detect dupes.#162
brian-brazil merged 1 commit into
masterfrom
describe

Conversation

@brian-brazil

Copy link
Copy Markdown
Contributor

This works largely the same as this feature in the
Python client.

This works by adding an optional Describable interface to collectors,
which returns data in the same format as collect (though hopefully
without the samples). If implemented it is called at registration time.

If describe is not present and auto describe is set on the
registry, then collect is called instead. This is enabled by default on
the default registry, but disabled elsewhere.

Put in empty describes on some custom collectors that
deal with arbitrary data.

Fixes #52

This works largely the same as this feature in the
Python client.

This works by adding an optional Describable interface to collectors,
which returns data in the same format as collect (though hopefully
without the samples). If implemented it is called at registration time.

If describe is not present and auto describe is set on the
registry, then collect is called instead. This is enabled by default on
the default registry, but disabled elsewhere.

Put in empty describes on some custom collectors that
deal with arbitrary data.
@brian-brazil
brian-brazil merged commit 500ab03 into master Nov 25, 2016
@brian-brazil
brian-brazil deleted the describe branch November 25, 2016 12:02
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

Successfully merging this pull request may close these issues.

1 participant